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") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 187.4 kB / 7.798 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9926/0.9926, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008062/0.0008065, allocations: 96.3 kB / 261.4 MB, free: 13.53 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.1483/0.1483, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.119e-06/5.139e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3259, allocations: 106.7 MB / 0.5696 GB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.3262, allocations: 71.95 kB / 0.5697 GB, free: 8.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4288/0.755, allocations: 129.2 MB / 0.6958 GB, free: 101.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002876/0.7553, allocations: 125.7 kB / 0.696 GB, free: 101.4 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.01894/0.7743, allocations: 6.401 MB / 0.7022 GB, free: 98.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.7743, allocations: 9.688 kB / 0.7022 GB, free: 98.03 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/0.8012, allocations: 6.753 MB / 0.7088 GB, free: 94.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0174/0.8186, allocations: 7.329 MB / 0.716 GB, free: 90.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.8189, allocations: 227.4 kB / 0.7162 GB, free: 90.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002178/0.8211, allocations: 399.8 kB / 0.7166 GB, free: 89.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01469/0.8358, allocations: 9.817 MB / 0.7262 GB, free: 79.94 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/0.8606, allocations: 14.69 MB / 0.7405 GB, free: 63.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004031/0.861, allocations: 87.17 kB / 0.7406 GB, free: 63.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002213/0.8633, allocations: 40 kB / 0.7406 GB, free: 63.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001685/0.865, allocations: 1.674 MB / 0.7423 GB, free: 62.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0624/0.9274, allocations: 68.5 MB / 0.8092 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006959/0.9344, allocations: 5.905 MB / 0.8149 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004606/0.939, allocations: 4.117 MB / 0.8189 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.018/0.957, allocations: 11.27 MB / 0.8299 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.9571, allocations: 64.47 kB / 0.83 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=272): time 7.294e-06/0.9571, allocations: 3.984 kB / 0.83 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of matching and sorting (n=314): time 0.1768/1.134, allocations: 26.31 MB / 0.8557 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/1.134, allocations: 207.9 kB / 0.8559 GB, free: 170 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005431/1.139, allocations: 4.41 MB / 0.8602 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005792/1.14, allocations: 29.67 kB / 0.8602 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/1.142, allocations: 4.375 MB / 0.8645 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.143, allocations: 1.147 MB / 0.8656 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/1.143, allocations: 0 / 0.8656 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003268/1.144, allocations: 0.6768 MB / 0.8663 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003966/1.148, allocations: 3.705 MB / 0.8699 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005761/1.153, allocations: 8.728 MB / 0.8784 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/1.159, allocations: 5.633 MB / 0.8839 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.733e-05/1.159, allocations: 51.75 kB / 0.884 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.02013/1.179, allocations: 12.67 MB / 0.8964 GB, free: 153 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.179, allocations: 3.875 kB / 0.8964 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003722/1.18, allocations: 178.9 kB / 0.8965 GB, free: 153 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004117/1.184, allocations: 1.616 MB / 0.8981 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0077/1.192, allocations: 2.117 MB / 0.9002 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/1.204, allocations: 10.42 MB / 0.9104 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007575/1.212, allocations: 314 kB / 0.9107 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/1.214, allocations: 0.5237 MB / 0.9112 GB, free: 144.1 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 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002634/1.216, allocations: 0.556 MB / 0.9117 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.218, allocations: 481.8 kB / 0.9122 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.23, allocations: 7.024 MB / 0.919 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.207e-05/1.23, allocations: 32 kB / 0.9191 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.23, allocations: 11.91 kB / 0.9191 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/1.23, allocations: 16.92 kB / 0.9191 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02498/1.255, allocations: 14.3 MB / 0.9331 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.255, allocations: 0 / 0.9331 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/1.258, allocations: 0.5564 MB / 0.9336 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/1.261, allocations: 1.319 MB / 0.9349 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00056/1.262, allocations: 15.91 kB / 0.9349 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.273, allocations: 9.66 MB / 0.9443 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.273, allocations: 7.516 kB / 0.9443 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01613/1.289, allocations: 11.75 MB / 0.9558 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002962/1.292, allocations: 1.058 MB / 0.9568 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.293, allocations: 8.75 kB / 0.9569 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00341/1.297, allocations: 150.2 kB / 0.957 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/1.297, allocations: 140.7 kB / 0.9571 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004452/1.298, allocations: 76 kB / 0.9572 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00663/1.305, allocations: 2.97 MB / 0.9601 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008609/1.313, allocations: 1.418 MB / 0.9615 GB, free: 99.79 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.0008963/1.314, allocations: 164.8 kB / 0.9616 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.327, allocations: 9.064 MB / 0.9705 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.327, allocations: 4 kB / 0.9705 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005106/1.332, allocations: 3.562 MB / 0.974 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/1.335, allocations: 481.9 kB / 0.9744 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03008/1.366, allocations: 13.2 MB / 0.9873 GB, free: 75.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009821/1.375, allocations: 5.389 MB / 0.9926 GB, free: 70.28 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/1.375, allocations: 0 / 0.9926 GB, free: 70.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.236/1.611, allocations: 64.87 MB / 1.056 GB, free: 147.7 MB / 0.4948 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/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