Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 104.1 kB / 16.93 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 191.3 kB / 17.86 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.52 MB / 314.6 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.06 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08871/0.09063, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01495/0.1056, allocations: 16.94 MB / 458.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.1166, allocations: 5.296 MB / 463.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.1196, allocations: 115.7 kB / 463.5 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009985/0.1296, allocations: 5.066 MB / 468.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007742/0.1374, allocations: 2.774 MB / 471.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.1412, allocations: 1.24 MB / 472.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.1521, allocations: 7.721 MB / 480.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009093/0.1613, allocations: 6.175 MB / 486.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.1662, allocations: 2.687 MB / 489.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/0.172, allocations: 3.742 MB / 492.9 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.1741, allocations: 0.5898 MB / 493.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/0.1783, allocations: 1.6 MB / 495.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004507/0.1829, allocations: 3.425 MB / 498.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006521/0.1894, allocations: 3.803 MB / 0.4906 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.2031, allocations: 11.56 MB / 0.5019 GB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.2032, allocations: 0 / 0.5019 GB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2032, allocations: 0 / 0.5019 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003785/0.2036, allocations: 0 / 0.5019 GB, free: 13.87 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.01941/0.223, allocations: 8.055 MB / 0.5097 GB, free: 5.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2231, allocations: 12.03 kB / 0.5098 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/0.2388, allocations: 3.174 MB / 0.5129 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.25, allocations: 5.157 MB / 0.5179 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.2504, allocations: 394.3 kB / 0.5183 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.2523, allocations: 0.5231 MB / 0.5188 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2114/0.4637, allocations: 15.77 MB / 0.5342 GB, free: 77.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000432/0.4642, allocations: 76.83 kB / 0.5342 GB, free: 77.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/0.4661, allocations: 247.8 kB / 0.5345 GB, free: 77.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005533/0.4716, allocations: 2.93 MB / 0.5373 GB, free: 77.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/0.4988, allocations: 13.15 MB / 0.5502 GB, free: 73.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06578/0.5646, allocations: 60.38 MB / 0.6092 GB, free: 17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5777, allocations: 6.098 MB / 0.6151 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.5817, allocations: 3.378 MB / 0.6184 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.5819, allocations: 39.16 kB / 0.6184 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.582, allocations: 68.06 kB / 0.6185 GB, free: 7.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 5.721e-06/0.582, allocations: 0 / 0.6185 GB, free: 7.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=260): time 0.09104/0.673, allocations: 25.87 MB / 0.6438 GB, free: 13.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.6733, allocations: 265.1 kB / 0.644 GB, free: 12.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01919/0.6925, allocations: 6.981 MB / 0.6508 GB, free: 5.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008162/0.6934, allocations: 64.14 kB / 0.6509 GB, free: 5.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006082/0.6995, allocations: 4.792 MB / 0.6556 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002142/0.7017, allocations: 1.011 MB / 0.6566 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006322/0.7081, allocations: 1.808 MB / 0.6583 GB, free: 14.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7082, allocations: 301.1 kB / 0.6586 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009114/0.7174, allocations: 3.316 MB / 0.6619 GB, free: 10.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01458/0.732, allocations: 8.486 MB / 0.6701 GB, free: 15.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01725/0.7493, allocations: 12.64 MB / 0.6825 GB, free: 272 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/0.7495, allocations: 52 kB / 0.6825 GB, free: 220 kB / 478.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02665/0.7762, allocations: 13.09 MB / 0.6953 GB, free: 3.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.7764, allocations: 84.03 kB / 0.6954 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003344/0.7768, allocations: 184 kB / 0.6956 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005208/0.782, allocations: 1.784 MB / 0.6973 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00748/0.7895, allocations: 2.105 MB / 0.6994 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.8052, allocations: 12.45 MB / 0.7115 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007632/0.8129, allocations: 495.2 kB / 0.712 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/0.8148, allocations: 0.5156 MB / 0.7125 GB, free: 1.109 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1087): * Single equations (assignments): 1081 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007256/0.8221, allocations: 3.214 MB / 0.7156 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/0.8239, allocations: 0.5707 MB / 0.7162 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.8368, allocations: 5.808 MB / 0.7219 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.915e-05/0.8368, allocations: 28 kB / 0.7219 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.162e-05/0.8369, allocations: 11.98 kB / 0.7219 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/0.8369, allocations: 7.969 kB / 0.7219 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3942/1.231, allocations: 12.93 MB / 0.7345 GB, free: 168.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.231, allocations: 4.797 kB / 0.7346 GB, free: 168.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.234, allocations: 0.5017 MB / 0.735 GB, free: 168.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/1.238, allocations: 1.485 MB / 0.7365 GB, free: 168.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004471/1.239, allocations: 47.27 kB / 0.7365 GB, free: 168.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.252, allocations: 11.48 MB / 0.7477 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.252, allocations: 9.094 kB / 0.7478 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.266, allocations: 9.424 MB / 0.757 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003198/1.269, allocations: 1.061 MB / 0.758 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.27, allocations: 46.33 kB / 0.758 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.273, allocations: 172.8 kB / 0.7582 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005111/1.274, allocations: 152.4 kB / 0.7584 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.274, allocations: 64.66 kB / 0.7584 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006934/1.281, allocations: 4.454 MB / 0.7628 GB, free: 157.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.72e-07/1.281, allocations: 3.875 kB / 0.7628 GB, free: 157.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008842/1.29, allocations: 1.624 MB / 0.7644 GB, free: 157.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007337/1.29, allocations: 180.3 kB / 0.7645 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01436/1.305, allocations: 9.568 MB / 0.7739 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.305, allocations: 4 kB / 0.7739 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003544/1.308, allocations: 2.736 MB / 0.7765 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005699/1.314, allocations: 0.7939 MB / 0.7773 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.339, allocations: 15.89 MB / 0.7928 GB, free: 134.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00605/1.346, allocations: 4.845 MB / 0.7976 GB, free: 129.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.347, allocations: 455.4 kB / 0.798 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.262e-06/1.347, allocations: 3.938 kB / 0.798 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.4078/1.755, allocations: 181.4 MB / 0.9751 GB, free: 132.7 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches