Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") [: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 4.0.0+maint.om/package.mo): time 0.0009383/0.0009384, allocations: 182.4 kB / 8.521 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 221.4 MB / 230.3 MB, free: 7.664 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 91.97 kB / 281.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1624/0.1624, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.424e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 61.9 MB / 0.4941 GB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3211/0.44, allocations: 106.7 MB / 0.5983 GB, free: 6.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.4402, allocations: 67.97 kB / 0.5983 GB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4619/0.9022, allocations: 115.9 MB / 0.7116 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002361/0.9024, allocations: 119.4 kB / 0.7117 GB, free: 103.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01459/0.917, allocations: 5.84 MB / 0.7174 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9171, allocations: 14.94 kB / 0.7174 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02597/0.9431, allocations: 6.592 MB / 0.7238 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/0.9608, allocations: 6.72 MB / 0.7304 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/0.9612, allocations: 196.5 kB / 0.7306 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002984/0.9642, allocations: 360.3 kB / 0.7309 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01522/0.9794, allocations: 8.798 MB / 0.7395 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02561/1.005, allocations: 12.99 MB / 0.7522 GB, free: 96.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/1.005, allocations: 67.66 kB / 0.7523 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/1.007, allocations: 42.44 kB / 0.7523 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/1.008, allocations: 1.467 MB / 0.7538 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07045/1.079, allocations: 60.31 MB / 0.8126 GB, free: 53.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005813/1.085, allocations: 5.357 MB / 0.8179 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/1.089, allocations: 3.757 MB / 0.8215 GB, free: 44.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/1.104, allocations: 10.12 MB / 0.8314 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/1.104, allocations: 68.5 kB / 0.8315 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=228): time 5.981e-06/1.104, allocations: 0 / 0.8315 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=270): time 0.04664/1.15, allocations: 23.06 MB / 0.854 GB, free: 16.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/1.15, allocations: 210.6 kB / 0.8542 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006041/1.156, allocations: 3.708 MB / 0.8578 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008341/1.157, allocations: 25.7 kB / 0.8579 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.159, allocations: 3.733 MB / 0.8615 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.16, allocations: 0.9828 MB / 0.8625 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/1.16, allocations: 0 / 0.8625 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002828/1.161, allocations: 0.6161 MB / 0.8631 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/1.164, allocations: 2.951 MB / 0.866 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005729/1.17, allocations: 7.154 MB / 0.8729 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005929/1.176, allocations: 4.572 MB / 0.8774 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.004e-05/1.176, allocations: 47.91 kB / 0.8774 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01866/1.195, allocations: 10.48 MB / 0.8877 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.195, allocations: 4 kB / 0.8877 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/1.195, allocations: 148 kB / 0.8878 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/1.199, allocations: 1.579 MB / 0.8894 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006326/1.205, allocations: 1.677 MB / 0.891 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1589/1.364, allocations: 10.31 MB / 0.9011 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006352/1.371, allocations: 234.2 kB / 0.9013 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.372, allocations: 450.5 kB / 0.9017 GB, free: 171.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (891): * Single equations (assignments): 886 * 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.001105/1.373, allocations: 494.2 kB / 0.9022 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007595/1.374, allocations: 417.6 kB / 0.9026 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008656/1.383, allocations: 5.802 MB / 0.9083 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/1.383, allocations: 26 kB / 0.9083 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.383, allocations: 9.906 kB / 0.9083 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/1.383, allocations: 13.53 kB / 0.9083 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.402, allocations: 12.19 MB / 0.9202 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.402, allocations: 3.344 kB / 0.9202 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.405, allocations: 423.7 kB / 0.9206 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003408/1.408, allocations: 1.308 MB / 0.9219 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003632/1.408, allocations: 12.97 kB / 0.9219 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.419, allocations: 9.652 MB / 0.9313 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.42, allocations: 3.875 kB / 0.9313 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01278/1.432, allocations: 9.711 MB / 0.9408 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.433, allocations: 439.8 kB / 0.9412 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006744/1.434, allocations: 4.656 kB / 0.9412 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.436, allocations: 115.8 kB / 0.9414 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/1.436, allocations: 117.3 kB / 0.9415 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/1.437, allocations: 71.3 kB / 0.9415 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003188/1.44, allocations: 2.488 MB / 0.944 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005075/1.445, allocations: 1.213 MB / 0.9452 GB, free: 165.5 MB / 0.5261 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 (212): * Single equations (assignments): 207 * 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.0004289/1.445, allocations: 160.3 kB / 0.9453 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008935/1.454, allocations: 7.357 MB / 0.9525 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.454, allocations: 2.969 kB / 0.9525 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004122/1.458, allocations: 2.963 MB / 0.9554 GB, free: 162 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.461, allocations: 490.7 kB / 0.9559 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/1.483, allocations: 11.36 MB / 0.9669 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006196/1.489, allocations: 4.811 MB / 0.9716 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/1.489, allocations: 2.281 kB / 0.9716 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.08747/1.576, allocations: 54.18 MB / 1.025 GB, free: 121.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches