Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001472/0.001471, allocations: 109.7 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3447/0.3447, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 59.91 kB / 429.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1234, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.2898/0.4132, allocations: 97.55 MB / 0.5709 GB, free: 408 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04895/0.4623, allocations: 18.65 MB / 0.5891 GB, free: 3.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02806/0.4904, allocations: 419.5 kB / 0.5895 GB, free: 3.863 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.5009, allocations: 4.833 MB / 0.5942 GB, free: 1.613 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008725/0.5097, allocations: 2.611 MB / 0.5967 GB, free: 404 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.5126, allocations: 1.057 MB / 0.5978 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01373/0.5264, allocations: 10.27 MB / 0.6078 GB, free: 9.707 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007539/0.5339, allocations: 5.965 MB / 0.6136 GB, free: 3.719 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005319/0.5393, allocations: 2.32 MB / 0.6159 GB, free: 1.391 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006182/0.5455, allocations: 3.801 MB / 0.6196 GB, free: 13.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.5468, allocations: 412 kB / 0.62 GB, free: 13.17 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.5503, allocations: 1.51 MB / 0.6215 GB, free: 11.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003217/0.5535, allocations: 3.179 MB / 0.6246 GB, free: 8.477 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004587/0.5581, allocations: 3.619 MB / 0.6281 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.5701, allocations: 11.4 MB / 0.6392 GB, free: 9.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5702, allocations: 4 kB / 0.6392 GB, free: 9.398 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5702, allocations: 0 / 0.6392 GB, free: 9.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003751/0.5706, allocations: 4 kB / 0.6393 GB, free: 9.395 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01837/0.5889, allocations: 8.069 MB / 0.6471 GB, free: 1.242 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.589, allocations: 8.031 kB / 0.6471 GB, free: 1.234 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.6014, allocations: 2.865 MB / 0.6499 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.612, allocations: 4.561 MB / 0.6544 GB, free: 9.711 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.6124, allocations: 398.1 kB / 0.6548 GB, free: 9.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/0.6138, allocations: 0.5191 MB / 0.6553 GB, free: 8.801 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02906/0.6429, allocations: 16.91 MB / 0.6718 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/0.6431, allocations: 71.3 kB / 0.6719 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000623/0.6437, allocations: 251.8 kB / 0.6721 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005252/0.649, allocations: 3.252 MB / 0.6753 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02846/0.6775, allocations: 14.51 MB / 0.6895 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3018/0.9793, allocations: 62.74 MB / 0.7507 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/0.9958, allocations: 6.902 MB / 0.7575 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005776/1.002, allocations: 4.247 MB / 0.7616 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/1.018, allocations: 9.672 MB / 0.7711 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/1.018, allocations: 68.56 kB / 0.7711 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 5.38e-06/1.018, allocations: 0 / 0.7711 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.07292/1.091, allocations: 34.77 MB / 0.8051 GB, free: 74.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/1.091, allocations: 244.2 kB / 0.8053 GB, free: 74.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007062/1.098, allocations: 6.744 MB / 0.8119 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005249/1.099, allocations: 77.53 kB / 0.812 GB, free: 67.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.101, allocations: 4.75 MB / 0.8166 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.102, allocations: 1.272 MB / 0.8179 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/1.104, allocations: 1.888 MB / 0.8197 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.257e-05/1.104, allocations: 309 kB / 0.82 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.108, allocations: 4.07 MB / 0.824 GB, free: 55.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00695/1.115, allocations: 9.143 MB / 0.8329 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/1.128, allocations: 14.16 MB / 0.8467 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/1.128, allocations: 49.5 kB / 0.8468 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02067/1.149, allocations: 15.11 MB / 0.8615 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/1.149, allocations: 80.22 kB / 0.8616 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/1.149, allocations: 181.4 kB / 0.8618 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004967/1.154, allocations: 2.292 MB / 0.864 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006411/1.16, allocations: 2.144 MB / 0.8661 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/1.176, allocations: 13.51 MB / 0.8793 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006988/1.183, allocations: 0.5462 MB / 0.8798 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009653/1.184, allocations: 0.5273 MB / 0.8804 GB, free: 8.477 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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 (1125): * Single equations (assignments): 1118 * Array equations: 5 * 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.005059/1.189, allocations: 3.287 MB / 0.8836 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.19, allocations: 0.5823 MB / 0.8841 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2396/1.429, allocations: 8.45 MB / 0.8924 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/1.429, allocations: 34.78 kB / 0.8924 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/1.429, allocations: 10.47 kB / 0.8924 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.684e-05/1.429, allocations: 17.64 kB / 0.8924 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02972/1.459, allocations: 17.11 MB / 0.9092 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-05/1.459, allocations: 3.281 kB / 0.9092 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/1.462, allocations: 0.5824 MB / 0.9097 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005018/1.467, allocations: 2.041 MB / 0.9117 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/1.468, allocations: 64.89 kB / 0.9118 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/1.483, allocations: 12.71 MB / 0.9242 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.483, allocations: 8.969 kB / 0.9242 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1205/1.603, allocations: 80.7 MB / 1.003 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002919/1.606, allocations: 1.235 MB / 1.004 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007336/1.607, allocations: 66.95 kB / 1.004 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.61, allocations: 243.6 kB / 1.005 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/1.61, allocations: 198.7 kB / 1.005 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.611, allocations: 91.98 kB / 1.005 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005022/1.616, allocations: 4.35 MB / 1.009 GB, free: 75.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/1.616, allocations: 0 / 1.009 GB, free: 75.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008202/1.624, allocations: 2.401 MB / 1.011 GB, free: 72.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006353/1.624, allocations: 212.1 kB / 1.012 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.637, allocations: 9.801 MB / 1.021 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.637, allocations: 4 kB / 1.021 GB, free: 62.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005511/1.643, allocations: 3.985 MB / 1.025 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/1.647, allocations: 0.7398 MB / 1.026 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/1.679, allocations: 22.85 MB / 1.048 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006405/1.685, allocations: 5.151 MB / 1.053 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007653/1.693, allocations: 3.035 MB / 1.056 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/1.695, allocations: 435.3 kB / 1.057 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/1.695, allocations: 0 / 1.057 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.4935/2.188, allocations: 90.85 MB / 1.145 GB, free: 116.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches