Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2") [: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.002628/0.002627, allocations: 175.7 kB / 8.149 MB, free: 2.207 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.664/1.664, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001241/0.001241, allocations: 91.41 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.2564/0.2564, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.708e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2709, allocations: 58.85 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.466, allocations: 110.8 MB / 0.5736 GB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4663, allocations: 79.25 kB / 0.5736 GB, free: 4.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.068/1.534, allocations: 230.2 MB / 0.7985 GB, free: 7.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008735/1.535, allocations: 263.9 kB / 0.7987 GB, free: 6.992 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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.05332/1.588, allocations: 12.17 MB / 0.8106 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.588, allocations: 12.03 kB / 0.8106 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2946/1.883, allocations: 12.37 MB / 0.8227 GB, free: 90.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04723/1.93, allocations: 13.36 MB / 0.8357 GB, free: 90.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007916/1.931, allocations: 411.2 kB / 0.8361 GB, free: 90.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006239/1.937, allocations: 0.7389 MB / 0.8368 GB, free: 90.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04711/1.984, allocations: 18 MB / 0.8544 GB, free: 90.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07004/2.054, allocations: 26.34 MB / 0.8801 GB, free: 84.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009365/2.055, allocations: 153.1 kB / 0.8803 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005814/2.061, allocations: 66.72 kB / 0.8804 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006243/2.068, allocations: 3.035 MB / 0.8833 GB, free: 84.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.433/2.501, allocations: 123.5 MB / 1.004 GB, free: 44.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02308/2.524, allocations: 11.63 MB / 1.015 GB, free: 43.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01679/2.541, allocations: 8.331 MB / 1.023 GB, free: 43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06082/2.601, allocations: 22.7 MB / 1.046 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/2.602, allocations: 94.78 kB / 1.046 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=514): time 9.879e-06/2.602, allocations: 0 / 1.046 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=598): time 0.2219/2.823, allocations: 57.47 MB / 1.102 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/2.824, allocations: 375.7 kB / 1.102 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02475/2.848, allocations: 8.213 MB / 1.11 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001799/2.85, allocations: 25.7 kB / 1.11 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00542/2.856, allocations: 7.425 MB / 1.117 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004102/2.86, allocations: 2.147 MB / 1.12 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003084/2.863, allocations: 0 / 1.12 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00191/2.865, allocations: 0.9782 MB / 1.121 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01984/2.885, allocations: 6.571 MB / 1.127 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04719/2.932, allocations: 16.08 MB / 1.143 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02699/2.959, allocations: 9.882 MB / 1.152 GB, free: 12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003693/2.96, allocations: 84 kB / 1.152 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2040) (initialization): time 0.0785/3.038, allocations: 22.36 MB / 1.174 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/3.038, allocations: 4 kB / 1.174 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007097/3.039, allocations: 300.1 kB / 1.174 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01555/3.054, allocations: 3.013 MB / 1.177 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0292/3.084, allocations: 3.71 MB / 1.181 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2589/3.343, allocations: 20.65 MB / 1.201 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01726/3.36, allocations: 0.4955 MB / 1.202 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004585/3.365, allocations: 0.8976 MB / 1.203 GB, free: 126.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1922): * Single equations (assignments): 1915 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 22,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006928/3.372, allocations: 0.8114 MB / 1.203 GB, free: 126 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003801/3.375, allocations: 0.8908 MB / 1.204 GB, free: 126 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04504/3.421, allocations: 13.47 MB / 1.217 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001822/3.421, allocations: 58.22 kB / 1.217 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.28e-05/3.421, allocations: 16.33 kB / 1.217 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/3.421, allocations: 30.52 kB / 1.217 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09038/3.511, allocations: 27.37 MB / 1.244 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-05/3.512, allocations: 2.5 kB / 1.244 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01277/3.524, allocations: 1.062 MB / 1.245 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/3.539, allocations: 2.616 MB / 1.248 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001933/3.541, allocations: 17.33 kB / 1.248 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04444/3.585, allocations: 19.14 MB / 1.267 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/3.585, allocations: 3.844 kB / 1.267 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06117/3.647, allocations: 21.71 MB / 1.288 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008041/3.655, allocations: 1.885 MB / 1.29 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004548/3.659, allocations: 4.188 kB / 1.29 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0112/3.671, allocations: 232.1 kB / 1.29 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00232/3.673, allocations: 271.5 kB / 1.29 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001625/3.675, allocations: 147.3 kB / 1.29 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.01768/3.692, allocations: 5.578 MB / 1.296 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02178/3.714, allocations: 2.613 MB / 1.298 GB, free: 107.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 504 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(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.002424/3.717, allocations: 187.5 kB / 1.298 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03936/3.756, allocations: 15.9 MB / 1.314 GB, free: 99.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/3.756, allocations: 4 kB / 1.314 GB, free: 99.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01948/3.776, allocations: 6.586 MB / 1.32 GB, free: 93.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/3.786, allocations: 0.9335 MB / 1.321 GB, free: 92.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08885/3.875, allocations: 26.27 MB / 1.347 GB, free: 69.63 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03224/3.907, allocations: 9.528 MB / 1.356 GB, free: 62.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.783e-06/3.907, allocations: 0 / 1.356 GB, free: 62.64 MB / 0.5417 GB Notification: Performance of Templates: time 1.068/4.976, allocations: 363.7 MB / 1.711 GB, free: 65.17 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches