Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2372/0.2372, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01327/0.3877, allocations: 10.52 MB / 0.5721 GB, free: 9.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009387/0.3971, allocations: 4.116 MB / 0.5761 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.3994, allocations: 91.5 kB / 0.5762 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005371/0.4048, allocations: 2.659 MB / 0.5788 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005278/0.41, allocations: 2.051 MB / 0.5808 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.412, allocations: 0.9163 MB / 0.5817 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007712/0.4197, allocations: 5.685 MB / 0.5872 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004059/0.4238, allocations: 2.817 MB / 0.59 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/0.4279, allocations: 1.748 MB / 0.5917 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.4324, allocations: 2.722 MB / 0.5943 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.4339, allocations: 384 kB / 0.5947 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.4372, allocations: 1.311 MB / 0.596 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003258/0.4405, allocations: 2.232 MB / 0.5982 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.4443, allocations: 1.821 MB / 0.6 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.4548, allocations: 7.911 MB / 0.6077 GB, free: 5.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4548, allocations: 3.938 kB / 0.6077 GB, free: 5.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4548, allocations: 8 kB / 0.6077 GB, free: 5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002673/0.4551, allocations: 0 / 0.6077 GB, free: 5 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01507/0.4702, allocations: 5.547 MB / 0.6131 GB, free: 15.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4702, allocations: 12.03 kB / 0.6131 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.4821, allocations: 2.502 MB / 0.6156 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00911/0.4912, allocations: 3.309 MB / 0.6188 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.4914, allocations: 242.5 kB / 0.619 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.4927, allocations: 335.7 kB / 0.6193 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.5143, allocations: 10.93 MB / 0.63 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.5145, allocations: 55.58 kB / 0.6301 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005409/0.515, allocations: 155.8 kB / 0.6302 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003323/0.5183, allocations: 1.998 MB / 0.6322 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/0.5385, allocations: 9.409 MB / 0.6414 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05318/0.5917, allocations: 37.98 MB / 0.6784 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.6027, allocations: 3.633 MB / 0.682 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/0.6054, allocations: 1.775 MB / 0.6837 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.6175, allocations: 5.771 MB / 0.6894 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.6176, allocations: 55.5 kB / 0.6894 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 5.761e-06/0.6176, allocations: 0 / 0.6894 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.1614/0.779, allocations: 40.98 MB / 0.7294 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.7791, allocations: 205.9 kB / 0.7296 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/0.7849, allocations: 4.034 MB / 0.7336 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006709/0.7856, allocations: 61.69 kB / 0.7336 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3187/1.104, allocations: 3.313 MB / 0.7369 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.106, allocations: 0.9215 MB / 0.7378 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003431/1.11, allocations: 1.365 MB / 0.7391 GB, free: 156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/1.11, allocations: 301.1 kB / 0.7394 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004959/1.115, allocations: 3.633 MB / 0.7429 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00585/1.12, allocations: 7.347 MB / 0.7501 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.131, allocations: 11.62 MB / 0.7615 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.131, allocations: 36 kB / 0.7615 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03406/1.165, allocations: 16.14 MB / 0.7772 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/1.165, allocations: 60 kB / 0.7773 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/1.165, allocations: 132.1 kB / 0.7774 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02177/1.187, allocations: 6.226 MB / 0.7835 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005145/1.192, allocations: 1.486 MB / 0.785 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02904/1.221, allocations: 27.13 MB / 0.8115 GB, free: 89.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006107/1.227, allocations: 415.6 kB / 0.8118 GB, free: 88.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.228, allocations: 391 kB / 0.8122 GB, free: 88.47 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 773 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003369/1.232, allocations: 2.208 MB / 0.8144 GB, free: 86.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/1.232, allocations: 377.5 kB / 0.8147 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02573/1.258, allocations: 11.23 MB / 0.8257 GB, free: 74.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-05/1.258, allocations: 24 kB / 0.8257 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/1.258, allocations: 12 kB / 0.8257 GB, free: 74.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/1.258, allocations: 7.969 kB / 0.8257 GB, free: 74.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03906/1.297, allocations: 18.86 MB / 0.8442 GB, free: 55.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.525e-05/1.297, allocations: 4 kB / 0.8442 GB, free: 55.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.299, allocations: 390.1 kB / 0.8445 GB, free: 55.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01879/1.318, allocations: 5.297 MB / 0.8497 GB, free: 49.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004966/1.319, allocations: 44 kB / 0.8498 GB, free: 49.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/1.343, allocations: 22.23 MB / 0.8715 GB, free: 27.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.343, allocations: 4 kB / 0.8715 GB, free: 27.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02779/1.37, allocations: 14.55 MB / 0.8857 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.372, allocations: 344.2 kB / 0.886 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008385/1.372, allocations: 44 kB / 0.886 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.375, allocations: 183.7 kB / 0.8862 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006978/1.375, allocations: 160.9 kB / 0.8864 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.376, allocations: 60 kB / 0.8864 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003596/1.379, allocations: 2.365 MB / 0.8887 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.379, allocations: 0 / 0.8887 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006439/1.386, allocations: 1.34 MB / 0.89 GB, free: 8.188 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006457/1.386, allocations: 193.9 kB / 0.8902 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.397, allocations: 7.999 MB / 0.898 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.397, allocations: 384 / 0.898 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005298/1.402, allocations: 2.992 MB / 0.901 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.405, allocations: 459.6 kB / 0.9014 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/1.428, allocations: 12.02 MB / 0.9131 GB, free: 480 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004569/1.432, allocations: 2.978 MB / 0.916 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004689/1.437, allocations: 1.918 MB / 0.9179 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.438, allocations: 247.4 kB / 0.9182 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.438, allocations: 4 kB / 0.9182 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.4272/1.865, allocations: 71.96 MB / 0.9884 GB, free: 217.8 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.078680832011742]