Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") [: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.001588/0.001588, allocations: 170.2 kB / 8.144 MB, free: 2.219 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.687/1.687, allocations: 205.2 MB / 213.8 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.001638/0.001638, allocations: 96.23 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.2627/0.2627, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.859e-06/1.003e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2771, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.466, allocations: 106.7 MB / 0.5696 GB, free: 8.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4663, allocations: 79.45 kB / 0.5697 GB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7291/1.195, allocations: 129.2 MB / 0.6958 GB, free: 101.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00047/1.196, allocations: 129.9 kB / 0.6959 GB, free: 101.2 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02936/1.225, allocations: 6.393 MB / 0.7022 GB, free: 97.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.225, allocations: 13.48 kB / 0.7022 GB, free: 97.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05189/1.277, allocations: 6.748 MB / 0.7088 GB, free: 94.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03043/1.308, allocations: 7.334 MB / 0.716 GB, free: 90.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005908/1.308, allocations: 223.9 kB / 0.7162 GB, free: 90.19 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00404/1.313, allocations: 400.7 kB / 0.7166 GB, free: 89.94 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02698/1.34, allocations: 9.82 MB / 0.7261 GB, free: 80.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04124/1.381, allocations: 14.68 MB / 0.7405 GB, free: 64.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005279/1.381, allocations: 91.17 kB / 0.7406 GB, free: 64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003702/1.385, allocations: 40 kB / 0.7406 GB, free: 63.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003139/1.388, allocations: 1.666 MB / 0.7422 GB, free: 62.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1139/1.502, allocations: 68.51 MB / 0.8091 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/1.516, allocations: 5.909 MB / 0.8149 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009678/1.526, allocations: 4.121 MB / 0.8189 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03569/1.562, allocations: 11.27 MB / 0.8299 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.411e-05/1.562, allocations: 68.41 kB / 0.83 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=272): time 7.344e-06/1.562, allocations: 0 / 0.83 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=314): time 0.2768/1.839, allocations: 26.3 MB / 0.8557 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/1.839, allocations: 214 kB / 0.8559 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/1.85, allocations: 4.41 MB / 0.8602 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009635/1.851, allocations: 27.86 kB / 0.8602 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003095/1.854, allocations: 4.272 MB / 0.8644 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/1.856, allocations: 1.144 MB / 0.8655 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.857, allocations: 0 / 0.8655 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006252/1.858, allocations: 0.6908 MB / 0.8662 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009631/1.868, allocations: 3.702 MB / 0.8698 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.881, allocations: 8.726 MB / 0.8783 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/1.894, allocations: 5.632 MB / 0.8838 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/1.894, allocations: 54.44 kB / 0.8839 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.0387/1.933, allocations: 12.53 MB / 0.8961 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.933, allocations: 7.062 kB / 0.8961 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002913/1.933, allocations: 181.2 kB / 0.8963 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007701/1.941, allocations: 1.559 MB / 0.8978 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01567/1.957, allocations: 2.107 MB / 0.8999 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/1.978, allocations: 10.46 MB / 0.9101 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009748/1.988, allocations: 300.7 kB / 0.9104 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002522/1.991, allocations: 0.5207 MB / 0.9109 GB, free: 145.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 815 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1081 * 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.003265/1.994, allocations: 493.3 kB / 0.9114 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/1.995, allocations: 481.8 kB / 0.9118 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/2.018, allocations: 7.026 MB / 0.9187 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/2.019, allocations: 28 kB / 0.9187 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.918e-05/2.019, allocations: 8 kB / 0.9187 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-05/2.019, allocations: 20.17 kB / 0.9187 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04463/2.063, allocations: 14.3 MB / 0.9327 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/2.064, allocations: 6.812 kB / 0.9327 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006931/2.07, allocations: 0.5541 MB / 0.9332 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007/2.078, allocations: 1.318 MB / 0.9345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009638/2.079, allocations: 11.8 kB / 0.9345 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02168/2.1, allocations: 9.653 MB / 0.944 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/2.1, allocations: 3.938 kB / 0.944 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03058/2.131, allocations: 11.76 MB / 0.9555 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004294/2.135, allocations: 1.062 MB / 0.9565 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/2.137, allocations: 0 / 0.9565 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006184/2.144, allocations: 147.8 kB / 0.9566 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/2.145, allocations: 148.2 kB / 0.9568 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004509/2.145, allocations: 74.86 kB / 0.9568 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007439/2.153, allocations: 2.975 MB / 0.9597 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0112/2.164, allocations: 1.421 MB / 0.9611 GB, free: 101.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 253 * 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.00122/2.165, allocations: 159.4 kB / 0.9613 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0202/2.186, allocations: 8.877 MB / 0.97 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/2.186, allocations: 0 / 0.97 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01013/2.196, allocations: 3.571 MB / 0.9734 GB, free: 89.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005033/2.201, allocations: 472.4 kB / 0.9739 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04422/2.245, allocations: 13.96 MB / 0.9875 GB, free: 76.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01543/2.261, allocations: 5.42 MB / 0.9928 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/2.261, allocations: 0 / 0.9928 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.4332/2.694, allocations: 145 MB / 1.134 GB, free: 103.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches