Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") [: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.001453/0.001453, allocations: 191.2 kB / 8.523 MB, free: 1.758 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.178/1.178, allocations: 221.4 MB / 230.3 MB, free: 3.023 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.0008813/0.0008813, allocations: 89.14 kB / 281.2 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3178/0.3178, allocations: 44.14 MB / 376.1 MB, free: 43.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.138e-05/1.14e-05, allocations: 4 kB / 444 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 61.9 MB / 0.4941 GB, free: 42.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4535, allocations: 106.3 MB / 0.5979 GB, free: 11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4537, allocations: 72.59 kB / 0.5979 GB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.5118/0.9655, allocations: 128.5 MB / 0.7235 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003215/0.9659, allocations: 138.2 kB / 0.7236 GB, free: 98.07 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.01632/0.9822, allocations: 6.306 MB / 0.7297 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.9823, allocations: 10.75 kB / 0.7298 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03354/1.016, allocations: 9.02 MB / 0.7386 GB, free: 95.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/1.037, allocations: 8.183 MB / 0.7466 GB, free: 94.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/1.037, allocations: 216.1 kB / 0.7468 GB, free: 94.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/1.04, allocations: 391 kB / 0.7471 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01693/1.057, allocations: 8.755 MB / 0.7557 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/1.087, allocations: 13.6 MB / 0.769 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003617/1.088, allocations: 95.05 kB / 0.7691 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/1.089, allocations: 44 kB / 0.7691 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/1.091, allocations: 1.446 MB / 0.7705 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06643/1.158, allocations: 66.61 MB / 0.8356 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/1.162, allocations: 4.408 MB / 0.8399 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/1.165, allocations: 2.956 MB / 0.8427 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/1.179, allocations: 8.513 MB / 0.8511 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/1.179, allocations: 67.06 kB / 0.8511 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 7.224e-06/1.179, allocations: 0 / 0.8511 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=201): time 0.0386/1.217, allocations: 21.12 MB / 0.8718 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.218, allocations: 248.5 kB / 0.872 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2034/1.421, allocations: 4.722 MB / 0.8766 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003738/1.421, allocations: 26.83 kB / 0.8766 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/1.424, allocations: 4.269 MB / 0.8808 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007015/1.425, allocations: 0.7799 MB / 0.8816 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/1.425, allocations: 0 / 0.8816 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003077/1.425, allocations: 0.6431 MB / 0.8822 GB, free: 161 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/1.428, allocations: 2.362 MB / 0.8845 GB, free: 161 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005046/1.433, allocations: 7.393 MB / 0.8917 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008299/1.441, allocations: 4.171 MB / 0.8958 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/1.442, allocations: 56.97 kB / 0.8958 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.01857/1.46, allocations: 9.114 MB / 0.9047 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.46, allocations: 2.469 kB / 0.9047 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002694/1.46, allocations: 183.2 kB / 0.9049 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/1.463, allocations: 0.8202 MB / 0.9057 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008292/1.471, allocations: 1.799 MB / 0.9075 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.482, allocations: 8.043 MB / 0.9153 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/1.492, allocations: 251.5 kB / 0.9156 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002536/1.495, allocations: 0.4928 MB / 0.916 GB, free: 149.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (966): * Single equations (assignments): 960 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00279/1.497, allocations: 0.5507 MB / 0.9166 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.499, allocations: 488.6 kB / 0.9171 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/1.505, allocations: 3.285 MB / 0.9203 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.917e-05/1.505, allocations: 20.47 kB / 0.9203 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.131e-05/1.505, allocations: 14.09 kB / 0.9203 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/1.505, allocations: 12.94 kB / 0.9203 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/1.523, allocations: 8.209 MB / 0.9283 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.523, allocations: 3.75 kB / 0.9283 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.525, allocations: 294 kB / 0.9286 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/1.526, allocations: 0.5217 MB / 0.9291 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/1.527, allocations: 10.38 kB / 0.9291 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006505/1.533, allocations: 7.147 MB / 0.9361 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.533, allocations: 2.062 kB / 0.9361 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007441/1.541, allocations: 6.089 MB / 0.9421 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.542, allocations: 0.4939 MB / 0.9425 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/1.543, allocations: 4.781 kB / 0.9425 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.545, allocations: 66.5 kB / 0.9426 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.545, allocations: 94.69 kB / 0.9427 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.546, allocations: 57.02 kB / 0.9427 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.004868/1.55, allocations: 3.214 MB / 0.9459 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00873/1.559, allocations: 1.184 MB / 0.947 GB, free: 137.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 144 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006007/1.56, allocations: 154.1 kB / 0.9472 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008661/1.568, allocations: 5.922 MB / 0.953 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.568, allocations: 4 kB / 0.953 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.571, allocations: 1.862 MB / 0.9548 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.575, allocations: 0.5903 MB / 0.9554 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.596, allocations: 10.91 MB / 0.966 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01156/1.608, allocations: 5.153 MB / 0.9711 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.263e-06/1.608, allocations: 0 / 0.9711 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1013/1.709, allocations: 47.67 MB / 1.018 GB, free: 93.28 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches