Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 179.4 kB / 8.517 MB, free: 1.852 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.171/1.171, allocations: 221.4 MB / 230.3 MB, free: 7.613 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.0008938/0.0008938, allocations: 93.67 kB / 281.2 MB, free: 5.41 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.1695/0.1695, allocations: 44.15 MB / 376.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.502e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 61.9 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.4227, allocations: 108.8 MB / 0.6004 GB, free: 3.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.4229, allocations: 75.97 kB / 0.6004 GB, free: 3.828 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4952/0.9181, allocations: 123.3 MB / 0.7209 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002231/0.9184, allocations: 122.1 kB / 0.721 GB, free: 104.1 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01561/0.934, allocations: 6.261 MB / 0.7271 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.934, allocations: 11.28 kB / 0.7271 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02606/0.9601, allocations: 6.68 MB / 0.7336 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/0.9776, allocations: 7.007 MB / 0.7405 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.978, allocations: 204.1 kB / 0.7407 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/0.9809, allocations: 374.7 kB / 0.741 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01434/0.9953, allocations: 8.99 MB / 0.7498 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/1.017, allocations: 13.67 MB / 0.7632 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002785/1.018, allocations: 81.84 kB / 0.7632 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009539/1.018, allocations: 38.44 kB / 0.7633 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/1.02, allocations: 1.517 MB / 0.7648 GB, free: 93.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06851/1.089, allocations: 65.91 MB / 0.8291 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/1.095, allocations: 5.164 MB / 0.8342 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00388/1.099, allocations: 3.497 MB / 0.8376 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/1.114, allocations: 8.938 MB / 0.8463 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.114, allocations: 67.92 kB / 0.8464 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=218): time 6.422e-06/1.114, allocations: 0 / 0.8464 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.04543/1.16, allocations: 24.2 MB / 0.87 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.16, allocations: 235.4 kB / 0.8702 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006549/1.166, allocations: 4.316 MB / 0.8744 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004518/1.167, allocations: 25.7 kB / 0.8745 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.169, allocations: 4.108 MB / 0.8785 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/1.17, allocations: 0.9677 MB / 0.8794 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/1.171, allocations: 0 / 0.8794 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004537/1.171, allocations: 0.6489 MB / 0.8801 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004306/1.175, allocations: 3.046 MB / 0.883 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007224/1.183, allocations: 7.829 MB / 0.8907 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007692/1.19, allocations: 4.858 MB / 0.8954 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.786e-05/1.191, allocations: 48 kB / 0.8955 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1056) (initialization): time 0.2077/1.398, allocations: 11.09 MB / 0.9063 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.398, allocations: 8.625 kB / 0.9063 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003882/1.399, allocations: 171 kB / 0.9065 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/1.403, allocations: 1.605 MB / 0.908 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007032/1.41, allocations: 1.864 MB / 0.9099 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.423, allocations: 10.34 MB / 0.9199 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006535/1.43, allocations: 258.8 kB / 0.9202 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001794/1.431, allocations: 495.9 kB / 0.9207 GB, free: 170.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 65 (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.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],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 (984): * Single equations (assignments): 979 * 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.002497/1.434, allocations: 0.5367 MB / 0.9212 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.435, allocations: 458.8 kB / 0.9216 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.445, allocations: 5.712 MB / 0.9272 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.696e-05/1.445, allocations: 24.06 kB / 0.9272 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.021e-05/1.446, allocations: 14.22 kB / 0.9272 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.446, allocations: 18.06 kB / 0.9273 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/1.472, allocations: 12.06 MB / 0.939 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/1.472, allocations: 2.031 kB / 0.939 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.474, allocations: 416 kB / 0.9394 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003594/1.478, allocations: 1.319 MB / 0.9407 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000352/1.478, allocations: 9.781 kB / 0.9407 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/1.49, allocations: 9.651 MB / 0.9502 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.49, allocations: 5.656 kB / 0.9502 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01316/1.503, allocations: 9.649 MB / 0.9596 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.505, allocations: 489 kB / 0.9601 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/1.506, allocations: 7.266 kB / 0.9601 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.509, allocations: 85.28 kB / 0.9601 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.51, allocations: 117.1 kB / 0.9603 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.51, allocations: 62.81 kB / 0.9603 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.005312/1.515, allocations: 2.918 MB / 0.9632 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008341/1.523, allocations: 1.273 MB / 0.9644 GB, free: 159.8 MB / 0.5261 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 (202): * Single equations (assignments): 197 * 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.0007359/1.524, allocations: 151 kB / 0.9646 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01394/1.538, allocations: 7.573 MB / 0.9719 GB, free: 157 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.538, allocations: 0 / 0.9719 GB, free: 157 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005122/1.543, allocations: 2.884 MB / 0.9748 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/1.547, allocations: 0.539 MB / 0.9753 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.576, allocations: 11.9 MB / 0.9869 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01042/1.587, allocations: 5.083 MB / 0.9919 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.613e-06/1.587, allocations: 0 / 0.9919 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.1052/1.692, allocations: 56.37 MB / 1.047 GB, free: 97.21 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches