Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009491/0.0009491, allocations: 178.3 kB / 8.518 MB, free: 1.84 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.174/1.174, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.0008757/0.0008759, allocations: 84.75 kB / 281.2 MB, free: 5.527 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.1716/0.1716, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.606e-06, allocations: 4 kB / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 61.91 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.4079, allocations: 107.2 MB / 0.5988 GB, free: 5.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4082, allocations: 76.61 kB / 0.5989 GB, free: 5.516 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4788/0.887, allocations: 118 MB / 0.7141 GB, free: 104 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002185/0.8873, allocations: 119.4 kB / 0.7142 GB, free: 104 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01528/0.9026, allocations: 5.899 MB / 0.72 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9026, allocations: 11.22 kB / 0.72 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02572/0.9283, allocations: 6.631 MB / 0.7264 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/0.9444, allocations: 6.714 MB / 0.733 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.9447, allocations: 196.1 kB / 0.7332 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001975/0.9467, allocations: 358.3 kB / 0.7335 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01392/0.9606, allocations: 8.687 MB / 0.742 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02583/0.9865, allocations: 13.24 MB / 0.7549 GB, free: 95.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/0.9868, allocations: 89.2 kB / 0.755 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/0.9881, allocations: 39.56 kB / 0.7551 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001465/0.9896, allocations: 1.452 MB / 0.7565 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0728/1.062, allocations: 63.62 MB / 0.8186 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/1.068, allocations: 5.161 MB / 0.8237 GB, free: 43.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003577/1.072, allocations: 3.547 MB / 0.8271 GB, free: 40.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/1.087, allocations: 9.021 MB / 0.8359 GB, free: 32.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/1.087, allocations: 64.09 kB / 0.836 GB, free: 32.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=212): time 5.561e-06/1.087, allocations: 0 / 0.836 GB, free: 32.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.05562/1.143, allocations: 23.87 MB / 0.8593 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/1.143, allocations: 209.9 kB / 0.8595 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005748/1.149, allocations: 4.018 MB / 0.8634 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007182/1.149, allocations: 33.7 kB / 0.8635 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/1.151, allocations: 3.914 MB / 0.8673 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.152, allocations: 0.9445 MB / 0.8682 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/1.153, allocations: 0 / 0.8682 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003206/1.153, allocations: 0.6324 MB / 0.8688 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/1.157, allocations: 3.094 MB / 0.8718 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008047/1.165, allocations: 7.658 MB / 0.8793 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007557/1.173, allocations: 4.82 MB / 0.884 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.135e-05/1.173, allocations: 48 kB / 0.8841 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1008) (initialization): time 0.02231/1.195, allocations: 11.01 MB / 0.8948 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.196, allocations: 6.344 kB / 0.8948 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003057/1.196, allocations: 167.9 kB / 0.895 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/1.2, allocations: 1.586 MB / 0.8965 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007114/1.207, allocations: 1.821 MB / 0.8983 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1953/1.402, allocations: 10.33 MB / 0.9084 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/1.409, allocations: 254.5 kB / 0.9086 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/1.411, allocations: 479.8 kB / 0.9091 GB, free: 170.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * Number of states: 0 () * Number of discrete variables: 62 (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 (936): * Single equations (assignments): 931 * 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.001506/1.413, allocations: 0.5108 MB / 0.9096 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.414, allocations: 435.2 kB / 0.91 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009507/1.423, allocations: 5.9 MB / 0.9158 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-05/1.423, allocations: 29.62 kB / 0.9158 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.423, allocations: 8.094 kB / 0.9158 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/1.423, allocations: 17.39 kB / 0.9158 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/1.445, allocations: 12.25 MB / 0.9278 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.445, allocations: 0 / 0.9278 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.448, allocations: 455.4 kB / 0.9282 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/1.451, allocations: 1.308 MB / 0.9295 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003302/1.452, allocations: 11.59 kB / 0.9295 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/1.463, allocations: 9.657 MB / 0.9389 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.464, allocations: 0 / 0.9389 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01263/1.476, allocations: 9.892 MB / 0.9486 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.477, allocations: 459.9 kB / 0.949 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006607/1.478, allocations: 3.625 kB / 0.949 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.48, allocations: 126.4 kB / 0.9492 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.48, allocations: 107 kB / 0.9493 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/1.481, allocations: 70.81 kB / 0.9493 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003667/1.484, allocations: 2.71 MB / 0.952 GB, free: 161.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00628/1.491, allocations: 1.249 MB / 0.9532 GB, free: 161.4 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 (196): * Single equations (assignments): 191 * 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.0006251/1.491, allocations: 160 kB / 0.9534 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.503, allocations: 7.659 MB / 0.9608 GB, free: 159 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.503, allocations: 0 / 0.9608 GB, free: 159 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004367/1.507, allocations: 3.005 MB / 0.9638 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.51, allocations: 0.492 MB / 0.9642 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/1.536, allocations: 11.59 MB / 0.9756 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009059/1.545, allocations: 4.878 MB / 0.9803 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/1.545, allocations: 1.438 kB / 0.9803 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.09522/1.64, allocations: 56.14 MB / 1.035 GB, free: 110.1 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches