Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") [: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.001012/0.001012, allocations: 172.8 kB / 8.517 MB, free: 1.844 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.153/1.153, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.0009297/0.0009298, allocations: 85.94 kB / 281.2 MB, free: 5.488 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.1584/0.1584, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.221e-06/6.251e-06, allocations: 0 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09459, allocations: 61.91 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.3641, allocations: 110.1 MB / 0.6016 GB, free: 2.566 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.3644, allocations: 75.95 kB / 0.6017 GB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4716/0.836, allocations: 133.2 MB / 0.7318 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002352/0.8363, allocations: 147 kB / 0.7319 GB, free: 103.7 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.01576/0.8521, allocations: 6.851 MB / 0.7386 GB, free: 101 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8521, allocations: 9.5 kB / 0.7386 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02618/0.8783, allocations: 6.812 MB / 0.7453 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/0.8952, allocations: 7.36 MB / 0.7525 GB, free: 99.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.8955, allocations: 230.3 kB / 0.7527 GB, free: 99.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/0.8974, allocations: 425.7 kB / 0.7531 GB, free: 99.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01542/0.9128, allocations: 10.16 MB / 0.763 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/0.9426, allocations: 15.33 MB / 0.778 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003006/0.943, allocations: 95.5 kB / 0.7781 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/0.9442, allocations: 42.94 kB / 0.7781 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/0.9463, allocations: 1.735 MB / 0.7798 GB, free: 89.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06746/1.014, allocations: 74.5 MB / 0.8526 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006088/1.02, allocations: 6.352 MB / 0.8588 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004035/1.024, allocations: 4.118 MB / 0.8628 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01663/1.041, allocations: 11.24 MB / 0.8738 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/1.041, allocations: 64.28 kB / 0.8738 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 5.009e-06/1.041, allocations: 0 / 0.8738 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=292): time 0.05902/1.1, allocations: 26.8 MB / 0.9 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.1, allocations: 235.6 kB / 0.9002 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1598/1.26, allocations: 4.846 MB / 0.9049 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006193/1.26, allocations: 28.98 kB / 0.905 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.262, allocations: 4.58 MB / 0.9094 GB, free: 179.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.263, allocations: 1.087 MB / 0.9105 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/1.264, allocations: 0 / 0.9105 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003545/1.264, allocations: 0.6918 MB / 0.9112 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/1.268, allocations: 3.395 MB / 0.9145 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005929/1.274, allocations: 8.745 MB / 0.923 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006658/1.281, allocations: 5.418 MB / 0.9283 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/1.281, allocations: 54.81 kB / 0.9284 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02036/1.301, allocations: 12.23 MB / 0.9403 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.301, allocations: 5.562 kB / 0.9403 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002687/1.302, allocations: 189.3 kB / 0.9405 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00377/1.305, allocations: 1.638 MB / 0.9421 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007256/1.313, allocations: 2.149 MB / 0.9442 GB, free: 170 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.324, allocations: 10.39 MB / 0.9544 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006762/1.331, allocations: 289.1 kB / 0.9546 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.332, allocations: 0.5408 MB / 0.9552 GB, free: 164.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 83 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.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 (1120): * Single equations (assignments): 1115 * 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.001243/1.334, allocations: 0.5963 MB / 0.9557 GB, free: 164 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008632/1.334, allocations: 0.4975 MB / 0.9562 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009453/1.344, allocations: 6.178 MB / 0.9623 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/1.344, allocations: 30.94 kB / 0.9623 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/1.344, allocations: 7.719 kB / 0.9623 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/1.344, allocations: 17.75 kB / 0.9623 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/1.367, allocations: 13.22 MB / 0.9752 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.367, allocations: 1.312 kB / 0.9752 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/1.37, allocations: 0.5079 MB / 0.9757 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.374, allocations: 1.31 MB / 0.977 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004411/1.374, allocations: 7.016 kB / 0.977 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/1.386, allocations: 9.667 MB / 0.9865 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.386, allocations: 3.703 kB / 0.9865 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01288/1.399, allocations: 10.43 MB / 0.9966 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.401, allocations: 0.5275 MB / 0.9972 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000809/1.401, allocations: 4 kB / 0.9972 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.403, allocations: 98.11 kB / 0.9973 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.404, allocations: 128 kB / 0.9974 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.404, allocations: 72 kB / 0.9974 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00407/1.408, allocations: 3.258 MB / 1.001 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007346/1.415, allocations: 1.421 MB / 1.002 GB, free: 136.3 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 (234): * Single equations (assignments): 229 * 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.0005668/1.416, allocations: 155.4 kB / 1.002 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.427, allocations: 8.338 MB / 1.01 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.427, allocations: 2.562 kB / 1.01 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/1.431, allocations: 3.115 MB / 1.013 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.434, allocations: 0.5613 MB / 1.014 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.457, allocations: 13.19 MB / 1.027 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006956/1.464, allocations: 5.58 MB / 1.032 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/1.464, allocations: 3.844 kB / 1.032 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.09904/1.563, allocations: 61.66 MB / 1.092 GB, free: 57.62 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches