Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001112, allocations: 111.2 kB / 17.09 MB, free: 5.98 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.001094/0.001094, allocations: 199.4 kB / 18.03 MB, free: 5.055 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.303/1.303, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1952/0.1952, 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.001532/0.001532, allocations: 69.47 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.105, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.01912/0.1241, allocations: 20.84 MB / 0.509 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.1364, allocations: 6.082 MB / 0.5149 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.1393, allocations: 139.6 kB / 0.515 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.1506, allocations: 6.401 MB / 0.5213 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008787/0.1594, allocations: 3.439 MB / 0.5246 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.1634, allocations: 1.591 MB / 0.5262 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2702/0.4336, allocations: 9.813 MB / 0.5358 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.4438, allocations: 8.34 MB / 0.5439 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/0.4504, allocations: 3.445 MB / 0.5473 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008753/0.4592, allocations: 4.768 MB / 0.5519 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003475/0.4627, allocations: 0.7753 MB / 0.5527 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.4678, allocations: 1.78 MB / 0.5544 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005162/0.473, allocations: 4.36 MB / 0.5587 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006565/0.4796, allocations: 4.822 MB / 0.5634 GB, free: 212 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.4968, allocations: 15.06 MB / 0.5781 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4969, allocations: 3.719 kB / 0.5781 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4969, allocations: 0 / 0.5781 GB, free: 7.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005395/0.4974, allocations: 3.188 kB / 0.5781 GB, free: 7.727 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.02478/0.5222, allocations: 10.35 MB / 0.5882 GB, free: 13.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5223, allocations: 11.89 kB / 0.5882 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01993/0.5422, allocations: 3.782 MB / 0.5919 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.5573, allocations: 6.695 MB / 0.5985 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004436/0.5577, allocations: 498.3 kB / 0.5989 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002761/0.5605, allocations: 0.6755 MB / 0.5996 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03951/0.6, allocations: 19.9 MB / 0.619 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003202/0.6004, allocations: 96.05 kB / 0.6191 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/0.6016, allocations: 306.8 kB / 0.6194 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005959/0.6076, allocations: 3.614 MB / 0.6229 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03409/0.6417, allocations: 16.75 MB / 0.6393 GB, free: 9.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09671/0.7384, allocations: 72.88 MB / 0.7105 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0204/0.7589, allocations: 8.494 MB / 0.7188 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007534/0.7664, allocations: 4.555 MB / 0.7232 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.7675, allocations: 0.6621 MB / 0.7239 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.7676, allocations: 67.59 kB / 0.7239 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=311): time 8.947e-06/0.7676, allocations: 4 kB / 0.7239 GB, free: 2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=335): time 0.3508/1.118, allocations: 36.31 MB / 0.7594 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.119, allocations: 291.9 kB / 0.7597 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/1.133, allocations: 7.833 MB / 0.7673 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008717/1.134, allocations: 80.22 kB / 0.7674 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004394/1.138, allocations: 5.951 MB / 0.7732 GB, free: 192 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/1.14, allocations: 1.332 MB / 0.7745 GB, free: 191 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003556/1.144, allocations: 2.096 MB / 0.7766 GB, free: 190 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/1.144, allocations: 310.6 kB / 0.7769 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00698/1.151, allocations: 4.115 MB / 0.7809 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/1.161, allocations: 9.847 MB / 0.7905 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.177, allocations: 14.91 MB / 0.805 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000181/1.177, allocations: 59.53 kB / 0.8051 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02786/1.205, allocations: 15.85 MB / 0.8206 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.205, allocations: 97.09 kB / 0.8207 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/1.206, allocations: 199.9 kB / 0.8209 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005963/1.212, allocations: 2.328 MB / 0.8231 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008161/1.22, allocations: 2.355 MB / 0.8254 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/1.236, allocations: 16.75 MB / 0.8418 GB, free: 144 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009065/1.245, allocations: 0.5776 MB / 0.8424 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.247, allocations: 0.582 MB / 0.8429 GB, free: 142.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005581/1.252, allocations: 3.88 MB / 0.8467 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.254, allocations: 0.7062 MB / 0.8474 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.266, allocations: 7.991 MB / 0.8552 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.368e-05/1.266, allocations: 15.94 kB / 0.8552 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/1.266, allocations: 3.938 kB / 0.8552 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003946/1.27, allocations: 1.328 MB / 0.8565 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002324/1.273, allocations: 52 kB / 0.8566 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/1.277, allocations: 235.7 kB / 0.8568 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/1.277, allocations: 222.3 kB / 0.857 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01362/1.291, allocations: 8.195 MB / 0.865 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01195/1.303, allocations: 10.56 MB / 0.8753 GB, free: 109.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002986/1.306, allocations: 2.832 MB / 0.8781 GB, free: 106.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007018/1.313, allocations: 4.988 MB / 0.883 GB, free: 101.8 MB / 0.5919 GB Notification: Performance of Backend: time 6.51e-07/1.313, allocations: 4 kB / 0.883 GB, free: 101.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0158/1.329, allocations: 7.896 MB / 0.8907 GB, free: 93.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02946/1.358, allocations: 18.47 MB / 0.9087 GB, free: 75.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.3966/1.755, allocations: 91.05 MB / 0.9976 GB, free: 187.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches