Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 176 kB / 8.15 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001803/0.001803, allocations: 88.52 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2718/0.2718, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.728e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2813, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.4703, allocations: 108.3 MB / 0.5711 GB, free: 6.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4706, allocations: 75.45 kB / 0.5712 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.719/1.19, allocations: 134.5 MB / 0.7025 GB, free: 98.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004705/1.19, allocations: 135.8 kB / 0.7026 GB, free: 98.64 MB / 474.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.02916/1.219, allocations: 6.754 MB / 0.7092 GB, free: 94.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.219, allocations: 13.88 kB / 0.7093 GB, free: 94.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05135/1.271, allocations: 6.801 MB / 0.7159 GB, free: 90.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0282/1.299, allocations: 7.633 MB / 0.7234 GB, free: 83.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/1.299, allocations: 224 kB / 0.7236 GB, free: 82.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003461/1.303, allocations: 415.8 kB / 0.724 GB, free: 82.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02534/1.328, allocations: 10.11 MB / 0.7338 GB, free: 72.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03862/1.367, allocations: 15.13 MB / 0.7486 GB, free: 55.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003681/1.367, allocations: 95.17 kB / 0.7487 GB, free: 55.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/1.37, allocations: 40 kB / 0.7487 GB, free: 55.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002928/1.373, allocations: 1.737 MB / 0.7504 GB, free: 53.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1136/1.486, allocations: 70.81 MB / 0.8196 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/1.5, allocations: 5.902 MB / 0.8253 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009506/1.509, allocations: 4.076 MB / 0.8293 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2116/1.721, allocations: 10.82 MB / 0.8399 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/1.721, allocations: 63.59 kB / 0.84 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=278): time 7.244e-06/1.721, allocations: 3.438 kB / 0.84 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=320): time 0.1179/1.839, allocations: 26.82 MB / 0.8662 GB, free: 162.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/1.839, allocations: 242.1 kB / 0.8664 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.851, allocations: 4.703 MB / 0.871 GB, free: 162 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009043/1.852, allocations: 28.42 kB / 0.871 GB, free: 162 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003324/1.855, allocations: 4.435 MB / 0.8753 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002105/1.857, allocations: 1.174 MB / 0.8765 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/1.858, allocations: 0 / 0.8765 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006361/1.859, allocations: 0.6989 MB / 0.8772 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009288/1.868, allocations: 3.655 MB / 0.8807 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0127/1.881, allocations: 8.904 MB / 0.8894 GB, free: 148 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.894, allocations: 5.666 MB / 0.895 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001732/1.894, allocations: 55.25 kB / 0.895 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.03887/1.933, allocations: 12.6 MB / 0.9073 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.933, allocations: 7.078 kB / 0.9073 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003764/1.934, allocations: 186.7 kB / 0.9075 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007648/1.941, allocations: 1.571 MB / 0.909 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01547/1.957, allocations: 2.144 MB / 0.9111 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/1.978, allocations: 10.47 MB / 0.9214 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00979/1.988, allocations: 308.3 kB / 0.9216 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002341/1.99, allocations: 0.5426 MB / 0.9222 GB, free: 131.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1129 * 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.002724/1.993, allocations: 0.5041 MB / 0.9227 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/1.994, allocations: 0.5013 MB / 0.9232 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/2.015, allocations: 6.833 MB / 0.9298 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001131/2.015, allocations: 30.58 kB / 0.9299 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.937e-05/2.015, allocations: 12 kB / 0.9299 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-05/2.015, allocations: 12.98 kB / 0.9299 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04207/2.058, allocations: 14.14 MB / 0.9437 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/2.058, allocations: 3.797 kB / 0.9437 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006398/2.064, allocations: 0.5221 MB / 0.9442 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006851/2.071, allocations: 1.315 MB / 0.9455 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008274/2.072, allocations: 13.67 kB / 0.9455 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/2.093, allocations: 9.665 MB / 0.9549 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/2.093, allocations: 0 / 0.9549 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02866/2.122, allocations: 11.5 MB / 0.9662 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004284/2.126, allocations: 1.051 MB / 0.9672 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001947/2.128, allocations: 8.75 kB / 0.9672 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005406/2.134, allocations: 116.7 kB / 0.9673 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008519/2.134, allocations: 148 kB / 0.9675 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000408/2.135, allocations: 80 kB / 0.9675 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007716/2.143, allocations: 3.173 MB / 0.9706 GB, free: 88.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0111/2.154, allocations: 1.45 MB / 0.9721 GB, free: 87.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 259 * 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.001172/2.155, allocations: 158.5 kB / 0.9722 GB, free: 87.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01973/2.175, allocations: 8.794 MB / 0.9808 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.175, allocations: 5.625 kB / 0.9808 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009296/2.184, allocations: 3.453 MB / 0.9842 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/2.189, allocations: 0.5103 MB / 0.9847 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04339/2.233, allocations: 14.29 MB / 0.9986 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01513/2.248, allocations: 5.625 MB / 1.004 GB, free: 57.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/2.248, allocations: 0 / 1.004 GB, free: 57.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.4448/2.693, allocations: 149.9 MB / 1.151 GB, free: 89.7 MB / 0.4948 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/jenkins/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