Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 109.6 kB / 17.09 MB, free: 5.984 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.001082/0.001082, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.345/1.345, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1988/0.1988, allocations: 43.52 MB / 314.8 MB, free: 468 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.001505/0.001505, allocations: 69.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01693/0.1227, allocations: 16.52 MB / 0.5047 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1337, allocations: 5.14 MB / 0.5097 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.1368, allocations: 99.75 kB / 0.5098 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008272/0.1451, allocations: 4.587 MB / 0.5143 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.1516, allocations: 2.61 MB / 0.5169 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.1544, allocations: 1.146 MB / 0.518 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009216/0.1636, allocations: 6.692 MB / 0.5245 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008613/0.1722, allocations: 5.789 MB / 0.5302 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2292/0.4015, allocations: 2.484 MB / 0.5326 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005088/0.4066, allocations: 3.456 MB / 0.536 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.4081, allocations: 0.5648 MB / 0.5365 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.4113, allocations: 1.567 MB / 0.5381 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003868/0.4152, allocations: 3.196 MB / 0.5412 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005905/0.4211, allocations: 3.638 MB / 0.5447 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.4357, allocations: 11.55 MB / 0.556 GB, free: 5.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4357, allocations: 0 / 0.556 GB, free: 5.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4357, allocations: 0 / 0.556 GB, free: 5.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004997/0.4363, allocations: 0 / 0.556 GB, free: 5.844 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02185/0.4581, allocations: 7.684 MB / 0.5635 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4582, allocations: 13.39 kB / 0.5635 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.4704, allocations: 2.832 MB / 0.5663 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009313/0.4797, allocations: 4.37 MB / 0.5706 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.48, allocations: 381.5 kB / 0.5709 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.4814, allocations: 0.5126 MB / 0.5714 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/0.5093, allocations: 16.39 MB / 0.5874 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.5095, allocations: 72.86 kB / 0.5875 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006195/0.5102, allocations: 241.2 kB / 0.5877 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005277/0.5154, allocations: 3.159 MB / 0.5908 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02696/0.5424, allocations: 14.13 MB / 0.6046 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07925/0.6217, allocations: 60.3 MB / 0.6635 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/0.6423, allocations: 8.011 MB / 0.6713 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005823/0.6481, allocations: 4.212 MB / 0.6754 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.6484, allocations: 63.02 kB / 0.6755 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.6485, allocations: 64.56 kB / 0.6756 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=290): time 5.74e-06/0.6485, allocations: 0 / 0.6756 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=332): time 0.09714/0.7456, allocations: 35.38 MB / 0.7101 GB, free: 1.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.7458, allocations: 219.8 kB / 0.7103 GB, free: 1.586 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/0.7567, allocations: 6.37 MB / 0.7165 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000918/0.7576, allocations: 77.7 kB / 0.7166 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003239/0.7609, allocations: 4.541 MB / 0.721 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001755/0.7626, allocations: 1.236 MB / 0.7223 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003479/0.7661, allocations: 1.815 MB / 0.724 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7663, allocations: 305.1 kB / 0.7243 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006175/0.7724, allocations: 4.105 MB / 0.7283 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009118/0.7816, allocations: 8.962 MB / 0.7371 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01863/0.8002, allocations: 13.97 MB / 0.7507 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/0.8004, allocations: 48 kB / 0.7508 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.2546/1.055, allocations: 14.96 MB / 0.7654 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.055, allocations: 78 kB / 0.7654 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/1.055, allocations: 168.8 kB / 0.7656 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006258/1.062, allocations: 2.281 MB / 0.7678 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007383/1.069, allocations: 2.096 MB / 0.7699 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/1.084, allocations: 14.45 MB / 0.784 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/1.091, allocations: 0.5379 MB / 0.7845 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/1.092, allocations: 0.5128 MB / 0.785 GB, free: 191 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1084): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004755/1.097, allocations: 3.16 MB / 0.7881 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009883/1.098, allocations: 0.5458 MB / 0.7886 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.11, allocations: 8.462 MB / 0.7969 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/1.11, allocations: 17.67 kB / 0.7969 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.11, allocations: 4 kB / 0.7969 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/1.113, allocations: 1.237 MB / 0.7981 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009206/1.114, allocations: 56 kB / 0.7982 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/1.117, allocations: 272.4 kB / 0.7984 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005298/1.117, allocations: 229.1 kB / 0.7987 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01322/1.13, allocations: 8.688 MB / 0.8071 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0119/1.142, allocations: 11.52 MB / 0.8184 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003188/1.146, allocations: 3.201 MB / 0.8215 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005127/1.151, allocations: 4.057 MB / 0.8255 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of Backend: time 2.71e-07/1.151, allocations: 0 / 0.8255 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.163, allocations: 7.327 MB / 0.8326 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02077/1.184, allocations: 14.55 MB / 0.8469 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1344/1.318, allocations: 85.66 MB / 0.9305 GB, free: 52.04 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches