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.001327/0.001327, allocations: 107.3 kB / 17.09 MB, free: 5.992 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.00142/0.001421, allocations: 191.3 kB / 18.02 MB, free: 5.082 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.2295/0.2295, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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.002468/0.002468, allocations: 79.88 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1467, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.02599/0.1727, allocations: 16.95 MB / 0.5052 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.1878, allocations: 5.296 MB / 0.5103 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/0.1921, allocations: 111.7 kB / 0.5104 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01283/0.205, allocations: 5.066 MB / 0.5154 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.2155, allocations: 2.859 MB / 0.5182 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.2201, allocations: 1.244 MB / 0.5194 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01524/0.2354, allocations: 7.741 MB / 0.5269 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2984/0.5338, allocations: 6.146 MB / 0.5329 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/0.5392, allocations: 2.706 MB / 0.5356 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00626/0.5455, allocations: 3.745 MB / 0.5392 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002097/0.5476, allocations: 0.5905 MB / 0.5398 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.552, allocations: 1.596 MB / 0.5414 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005372/0.5574, allocations: 3.445 MB / 0.5447 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007661/0.5651, allocations: 3.805 MB / 0.5485 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.5787, allocations: 11.91 MB / 0.5601 GB, free: 2.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5787, allocations: 0 / 0.5601 GB, free: 2.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5787, allocations: 0 / 0.5601 GB, free: 2.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003851/0.5791, allocations: 1.375 kB / 0.5601 GB, free: 2.59 MB / 414.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.02375/0.6029, allocations: 8.068 MB / 0.568 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6029, allocations: 8.75 kB / 0.568 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.6199, allocations: 3.172 MB / 0.5711 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.6338, allocations: 5.24 MB / 0.5762 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.6342, allocations: 390.1 kB / 0.5766 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/0.6367, allocations: 0.517 MB / 0.5771 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03552/0.6723, allocations: 15.77 MB / 0.5925 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003679/0.6727, allocations: 73.98 kB / 0.5925 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/0.6747, allocations: 246.5 kB / 0.5928 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005378/0.6801, allocations: 2.933 MB / 0.5956 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02863/0.7088, allocations: 13.15 MB / 0.6085 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08665/0.7955, allocations: 60.12 MB / 0.6672 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01611/0.8116, allocations: 6.098 MB / 0.6731 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/0.8165, allocations: 3.383 MB / 0.6765 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.8168, allocations: 46.66 kB / 0.6765 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.8169, allocations: 66.31 kB / 0.6766 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.279e-06/0.8169, allocations: 0 / 0.6766 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=260): time 0.07911/0.896, allocations: 25.87 MB / 0.7018 GB, free: 9.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.8962, allocations: 263.8 kB / 0.7021 GB, free: 9.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01749/0.9137, allocations: 6.973 MB / 0.7089 GB, free: 2.285 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008582/0.9146, allocations: 61.7 kB / 0.7089 GB, free: 2.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005377/0.9199, allocations: 4.797 MB / 0.7136 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00207/0.922, allocations: 1.013 MB / 0.7146 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007286/0.9294, allocations: 1.811 MB / 0.7164 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9295, allocations: 301.1 kB / 0.7167 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007075/0.9366, allocations: 3.316 MB / 0.7199 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01209/0.9487, allocations: 8.485 MB / 0.7282 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/0.9677, allocations: 12.64 MB / 0.7405 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002181/0.9679, allocations: 52 kB / 0.7406 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03087/0.9988, allocations: 13.09 MB / 0.7534 GB, free: 236 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.9992, allocations: 80.78 kB / 0.7534 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2759/1.275, allocations: 181.1 kB / 0.7536 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005432/1.281, allocations: 1.776 MB / 0.7554 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008065/1.289, allocations: 2.106 MB / 0.7574 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/1.304, allocations: 12.43 MB / 0.7696 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008113/1.312, allocations: 496 kB / 0.77 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.314, allocations: 0.5133 MB / 0.7705 GB, free: 191.5 MB / 0.5919 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.007032/1.321, allocations: 3.219 MB / 0.7737 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.322, allocations: 0.5782 MB / 0.7742 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.332, allocations: 5.802 MB / 0.7799 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.57e-05/1.333, allocations: 11.95 kB / 0.7799 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.333, allocations: 7.562 kB / 0.7799 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/1.336, allocations: 1.051 MB / 0.7809 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/1.337, allocations: 44.53 kB / 0.781 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.34, allocations: 175.4 kB / 0.7812 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/1.34, allocations: 173.6 kB / 0.7813 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01111/1.351, allocations: 6.291 MB / 0.7875 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009641/1.361, allocations: 8.052 MB / 0.7953 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002458/1.364, allocations: 2.11 MB / 0.7974 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008098/1.372, allocations: 4.448 MB / 0.8017 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of Backend: time 1.022e-06/1.372, allocations: 0 / 0.8017 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01513/1.387, allocations: 6.489 MB / 0.8081 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02604/1.413, allocations: 14.81 MB / 0.8225 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1207/1.534, allocations: 73.69 MB / 0.8945 GB, free: 86.87 MB / 0.5919 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