Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001162/0.001162, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.403/1.403, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0007569/0.0007569, allocations: 90.3 kB / 271.9 MB, free: 8.23 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.3322/0.3322, allocations: 43.55 MB / 363.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005089, allocations: 16 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 58.86 MB / 491.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4563, allocations: 109.3 MB / 0.5866 GB, free: 9.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4566, allocations: 83.95 kB / 0.5867 GB, free: 8.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5304/0.987, allocations: 137 MB / 0.7205 GB, free: 84.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.9871, allocations: 1 kB / 0.7205 GB, free: 84.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004448/0.9875, allocations: 134.9 kB / 0.7206 GB, free: 84.55 MB / 490.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.0246/1.012, allocations: 6.967 MB / 0.7274 GB, free: 81.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.012, allocations: 10.34 kB / 0.7274 GB, free: 81.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02389/1.036, allocations: 5.538 MB / 0.7328 GB, free: 81.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/1.051, allocations: 6.442 MB / 0.7391 GB, free: 80.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/1.052, allocations: 0.5178 MB / 0.7396 GB, free: 80.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/1.056, allocations: 0.6888 MB / 0.7403 GB, free: 79.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04345/1.099, allocations: 17.14 MB / 0.757 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005817/1.1, allocations: 90.3 kB / 0.7571 GB, free: 71.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003612/1.103, allocations: 333.9 kB / 0.7575 GB, free: 71.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/1.106, allocations: 1.622 MB / 0.759 GB, free: 70.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03001/1.136, allocations: 14.2 MB / 0.7729 GB, free: 66.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08267/1.219, allocations: 72.3 MB / 0.8435 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/1.236, allocations: 7.065 MB / 0.8504 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005932/1.242, allocations: 3.985 MB / 0.8543 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2857/1.528, allocations: 9.409 MB / 0.8635 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/1.528, allocations: 65.73 kB / 0.8635 GB, free: 93.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 5.992e-06/1.528, allocations: 0 / 0.8635 GB, free: 93.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.0765/1.605, allocations: 31.42 MB / 0.8942 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.605, allocations: 244.4 kB / 0.8945 GB, free: 87.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/1.62, allocations: 6.691 MB / 0.901 GB, free: 87.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000789/1.621, allocations: 77.16 kB / 0.9011 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003819/1.625, allocations: 4.827 MB / 0.9058 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.627, allocations: 1.261 MB / 0.907 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.628, allocations: 179.7 kB / 0.9072 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005698/1.628, allocations: 0.682 MB / 0.9079 GB, free: 82.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.634, allocations: 3.742 MB / 0.9115 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007703/1.642, allocations: 8.821 MB / 0.9201 GB, free: 72.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/1.656, allocations: 13.6 MB / 0.9334 GB, free: 62.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001908/1.657, allocations: 50 kB / 0.9335 GB, free: 62.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02502/1.682, allocations: 13.86 MB / 0.947 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/1.682, allocations: 80.97 kB / 0.9471 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003226/1.682, allocations: 178.5 kB / 0.9472 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/1.686, allocations: 1.678 MB / 0.9489 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007093/1.693, allocations: 2.124 MB / 0.951 GB, free: 57.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.705, allocations: 11.4 MB / 0.9621 GB, free: 51.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007645/1.713, allocations: 0.535 MB / 0.9626 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/1.715, allocations: 0.5259 MB / 0.9631 GB, free: 50.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * 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 (1092): * Single equations (assignments): 1087 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007076/1.722, allocations: 3.287 MB / 0.9663 GB, free: 49.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.723, allocations: 0.5887 MB / 0.9669 GB, free: 49.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.735, allocations: 7.524 MB / 0.9743 GB, free: 46.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-05/1.735, allocations: 39.73 kB / 0.9743 GB, free: 46.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/1.735, allocations: 12 kB / 0.9743 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.679e-05/1.735, allocations: 19.55 kB / 0.9743 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.763, allocations: 16.1 MB / 0.99 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/1.763, allocations: 8 kB / 0.9901 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/1.766, allocations: 0.6268 MB / 0.9907 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/1.769, allocations: 1.422 MB / 0.9921 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006376/1.77, allocations: 63.09 kB / 0.9921 GB, free: 31.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.781, allocations: 10.64 MB / 1.003 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.781, allocations: 4 kB / 1.003 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.797, allocations: 11.89 MB / 1.014 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/1.8, allocations: 1.196 MB / 1.015 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/1.801, allocations: 60 kB / 1.015 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.804, allocations: 228.6 kB / 1.016 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005266/1.805, allocations: 204.6 kB / 1.016 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.805, allocations: 87.38 kB / 1.016 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006218/1.811, allocations: 4.298 MB / 1.02 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.811, allocations: 0 / 1.02 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00807/1.82, allocations: 1.706 MB / 1.022 GB, free: 5.066 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006601/1.82, allocations: 213.6 kB / 1.022 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01716/1.837, allocations: 9.519 MB / 1.031 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.837, allocations: 192 / 1.031 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006266/1.844, allocations: 3.714 MB / 1.035 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008788/1.852, allocations: 0.7613 MB / 1.036 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2479/2.1, allocations: 19.85 MB / 1.055 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008203/2.109, allocations: 5.048 MB / 1.06 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/2.111, allocations: 481.9 kB / 1.06 GB, free: 111 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/2.111, allocations: 0 / 1.06 GB, free: 111 MB / 0.5261 GB Notification: Performance of Templates: time 0.2065/2.318, allocations: 158.8 MB / 1.215 GB, free: 23.1 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches