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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 187 kB / 16.64 MB, free: 5.133 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 8.457 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.001083/0.001082, allocations: 98.28 kB / 269.9 MB, free: 8.434 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.3469/0.3469, allocations: 43.5 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1284, allocations: 57.78 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.2785/0.407, allocations: 93.45 MB / 0.5669 GB, free: 3.309 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03925/0.4463, allocations: 17.98 MB / 0.5844 GB, free: 7.297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02137/0.4677, allocations: 395.4 kB / 0.5848 GB, free: 7.242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009394/0.4772, allocations: 4.572 MB / 0.5893 GB, free: 5.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007645/0.4849, allocations: 2.454 MB / 0.5917 GB, free: 3.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.4879, allocations: 1.055 MB / 0.5927 GB, free: 3.488 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.5014, allocations: 9.826 MB / 0.6023 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009417/0.5109, allocations: 5.676 MB / 0.6078 GB, free: 9.699 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00584/0.5167, allocations: 2.191 MB / 0.61 GB, free: 7.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006731/0.5235, allocations: 3.668 MB / 0.6135 GB, free: 3.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002585/0.5261, allocations: 403.9 kB / 0.6139 GB, free: 3.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.5312, allocations: 1.475 MB / 0.6154 GB, free: 1.949 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004111/0.5353, allocations: 3.039 MB / 0.6183 GB, free: 14.9 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00539/0.5407, allocations: 3.487 MB / 0.6217 GB, free: 11.39 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.5515, allocations: 11.01 MB / 0.6325 GB, free: 356 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5515, allocations: 0 / 0.6325 GB, free: 356 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5515, allocations: 0 / 0.6325 GB, free: 356 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003195/0.5518, allocations: 0 / 0.6325 GB, free: 356 kB / 442.7 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.01509/0.5669, allocations: 7.673 MB / 0.64 GB, free: 8.594 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.567, allocations: 20.02 kB / 0.64 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5788, allocations: 2.827 MB / 0.6428 GB, free: 5.734 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009248/0.5881, allocations: 4.305 MB / 0.647 GB, free: 1.371 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.5884, allocations: 385.8 kB / 0.6473 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.5896, allocations: 0.5074 MB / 0.6478 GB, free: 496 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.6188, allocations: 16.4 MB / 0.6639 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/0.6191, allocations: 63.36 kB / 0.6639 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006238/0.6197, allocations: 247.8 kB / 0.6641 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005171/0.6249, allocations: 3.158 MB / 0.6672 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.6528, allocations: 14.13 MB / 0.681 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2973/0.9501, allocations: 60.63 MB / 0.7402 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/0.9679, allocations: 8.012 MB / 0.7481 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005557/0.9735, allocations: 4.208 MB / 0.7522 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.9738, allocations: 69.98 kB / 0.7522 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.9739, allocations: 63.66 kB / 0.7523 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=290): time 5.65e-06/0.9739, allocations: 0 / 0.7523 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=332): time 0.08628/1.06, allocations: 35.38 MB / 0.7869 GB, free: 93.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.06, allocations: 217.5 kB / 0.7871 GB, free: 93.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007897/1.068, allocations: 6.369 MB / 0.7933 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.069, allocations: 77.7 kB / 0.7934 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002588/1.072, allocations: 4.536 MB / 0.7978 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/1.073, allocations: 1.234 MB / 0.799 GB, free: 81.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002657/1.076, allocations: 1.817 MB / 0.8008 GB, free: 79.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/1.076, allocations: 301.1 kB / 0.8011 GB, free: 78.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005612/1.082, allocations: 4.109 MB / 0.8051 GB, free: 74.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/1.089, allocations: 8.957 MB / 0.8138 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.101, allocations: 13.98 MB / 0.8275 GB, free: 47.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.101, allocations: 48 kB / 0.8275 GB, free: 47.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02232/1.123, allocations: 14.98 MB / 0.8421 GB, free: 32.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.124, allocations: 76 kB / 0.8422 GB, free: 32.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.124, allocations: 172.2 kB / 0.8424 GB, free: 31.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005579/1.129, allocations: 2.276 MB / 0.8446 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006877/1.136, allocations: 2.094 MB / 0.8466 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.15, allocations: 13.5 MB / 0.8598 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007635/1.158, allocations: 0.5461 MB / 0.8604 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.159, allocations: 0.5038 MB / 0.8609 GB, free: 12.74 MB / 0.4948 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.005634/1.165, allocations: 3.157 MB / 0.8639 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/1.167, allocations: 0.5476 MB / 0.8645 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.181, allocations: 8.465 MB / 0.8727 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/1.181, allocations: 32 kB / 0.8728 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.181, allocations: 16 kB / 0.8728 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.181, allocations: 15.94 kB / 0.8728 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2513/1.432, allocations: 17.43 MB / 0.8898 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-05/1.432, allocations: 3.594 kB / 0.8898 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003399/1.436, allocations: 0.5993 MB / 0.8904 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/1.441, allocations: 2.037 MB / 0.8924 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006928/1.442, allocations: 62.78 kB / 0.8925 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/1.457, allocations: 12.71 MB / 0.9049 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.457, allocations: 3.156 kB / 0.9049 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1269/1.584, allocations: 84.74 MB / 0.9876 GB, free: 97.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/1.587, allocations: 1.237 MB / 0.9888 GB, free: 95.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000644/1.587, allocations: 56 kB / 0.9889 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.59, allocations: 285 kB / 0.9892 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006211/1.591, allocations: 204.1 kB / 0.9894 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.591, allocations: 87.98 kB / 0.9894 GB, free: 95.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004773/1.596, allocations: 4.05 MB / 0.9934 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.8e-07/1.596, allocations: 3.688 kB / 0.9934 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008134/1.604, allocations: 2.363 MB / 0.9957 GB, free: 88.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.000591/1.604, allocations: 215.2 kB / 0.9959 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.617, allocations: 9.893 MB / 1.006 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/1.617, allocations: 0.75 kB / 1.006 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005576/1.623, allocations: 4.141 MB / 1.01 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/1.627, allocations: 0.6972 MB / 1.01 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.652, allocations: 22.32 MB / 1.032 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004563/1.656, allocations: 4.968 MB / 1.037 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007162/1.663, allocations: 2.997 MB / 1.04 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/1.665, allocations: 415.3 kB / 1.04 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of SimCode: time 6.92e-07/1.665, allocations: 0 / 1.04 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.3058/1.971, allocations: 91.87 MB / 1.13 GB, free: 124.7 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches