Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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.WorldForces") [: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.0009455/0.0009456, allocations: 183.4 kB / 8.523 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.154/1.154, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0009626/0.0009627, allocations: 83.88 kB / 281.2 MB, free: 5.461 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.1597/0.1597, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.432e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 61.92 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3167/0.4229, allocations: 108.3 MB / 0.5998 GB, free: 4.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4232, allocations: 79.97 kB / 0.5999 GB, free: 4.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5218/0.945, allocations: 136.7 MB / 0.7334 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005049/0.9456, allocations: 152.6 kB / 0.7335 GB, free: 88.45 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.01973/0.9653, allocations: 6.817 MB / 0.7402 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9654, allocations: 6.594 kB / 0.7402 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03425/0.9996, allocations: 9.103 MB / 0.7491 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/1.02, allocations: 8.454 MB / 0.7574 GB, free: 84.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004359/1.02, allocations: 225.8 kB / 0.7576 GB, free: 84.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003603/1.024, allocations: 426.7 kB / 0.758 GB, free: 84.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01987/1.044, allocations: 9.664 MB / 0.7674 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03523/1.079, allocations: 15.03 MB / 0.7821 GB, free: 77.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008666/1.08, allocations: 109.5 kB / 0.7822 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003446/1.083, allocations: 46.22 kB / 0.7822 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002264/1.086, allocations: 1.605 MB / 0.7838 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07639/1.162, allocations: 74.45 MB / 0.8565 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006167/1.168, allocations: 5.462 MB / 0.8618 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004299/1.173, allocations: 3.82 MB / 0.8656 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/1.189, allocations: 10.42 MB / 0.8757 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/1.189, allocations: 71.19 kB / 0.8758 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=223): time 3.887e-06/1.189, allocations: 0 / 0.8758 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=259): time 0.05369/1.242, allocations: 27.09 MB / 0.9023 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.242, allocations: 278.9 kB / 0.9025 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1916/1.434, allocations: 4.919 MB / 0.9073 GB, free: 197 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006015/1.435, allocations: 29.58 kB / 0.9074 GB, free: 197 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00263/1.437, allocations: 4.552 MB / 0.9118 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/1.438, allocations: 0.9791 MB / 0.9128 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/1.439, allocations: 0 / 0.9128 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003604/1.439, allocations: 0.6801 MB / 0.9134 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003837/1.443, allocations: 2.981 MB / 0.9163 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005948/1.449, allocations: 8.322 MB / 0.9245 GB, free: 187.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00669/1.456, allocations: 4.953 MB / 0.9293 GB, free: 187.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.456, allocations: 54.94 kB / 0.9294 GB, free: 187.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.01837/1.474, allocations: 11.09 MB / 0.9402 GB, free: 187.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.474, allocations: 2.906 kB / 0.9402 GB, free: 187.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.475, allocations: 194.2 kB / 0.9404 GB, free: 187.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/1.478, allocations: 1.318 MB / 0.9417 GB, free: 187.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006318/1.484, allocations: 2 MB / 0.9436 GB, free: 186.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.495, allocations: 10.45 MB / 0.9538 GB, free: 182.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007326/1.503, allocations: 266.8 kB / 0.9541 GB, free: 182.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/1.505, allocations: 0.5316 MB / 0.9546 GB, free: 182.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.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],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 (1064): * Single equations (assignments): 1058 * 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 {(4,75.0%) 21,(1,100.0%) 14,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001725/1.506, allocations: 0.5879 MB / 0.9552 GB, free: 181.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.508, allocations: 0.5063 MB / 0.9557 GB, free: 181.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008354/1.516, allocations: 5.07 MB / 0.9606 GB, free: 179.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/1.516, allocations: 24.56 kB / 0.9606 GB, free: 179.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/1.516, allocations: 10.5 kB / 0.9607 GB, free: 179.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-05/1.516, allocations: 17.55 kB / 0.9607 GB, free: 179.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.538, allocations: 11.42 MB / 0.9718 GB, free: 175.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.538, allocations: 10.11 kB / 0.9718 GB, free: 175.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/1.54, allocations: 398 kB / 0.9722 GB, free: 175.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/1.543, allocations: 1.012 MB / 0.9732 GB, free: 175.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004068/1.543, allocations: 3.906 kB / 0.9732 GB, free: 175.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009813/1.553, allocations: 9.421 MB / 0.9824 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.553, allocations: 0 / 0.9824 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01262/1.566, allocations: 8.838 MB / 0.991 GB, free: 165.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.568, allocations: 0.521 MB / 0.9915 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007384/1.568, allocations: 9.562 kB / 0.9916 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.57, allocations: 72.14 kB / 0.9916 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/1.571, allocations: 116.5 kB / 0.9917 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.571, allocations: 62.91 kB / 0.9918 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.006392/1.577, allocations: 3.344 MB / 0.9951 GB, free: 163.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00867/1.586, allocations: 1.356 MB / 0.9964 GB, free: 162.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (201): * Single equations (assignments): 195 * 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%) 10,(1,100.0%) 11,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006833/1.587, allocations: 157.2 kB / 0.9965 GB, free: 162 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.598, allocations: 7.477 MB / 1.004 GB, free: 155.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.598, allocations: 1.438 kB / 1.004 GB, free: 155.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00358/1.602, allocations: 2.62 MB / 1.006 GB, free: 152.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.606, allocations: 0.6203 MB / 1.007 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/1.634, allocations: 12.59 MB / 1.019 GB, free: 141.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008153/1.642, allocations: 5.548 MB / 1.025 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.242e-06/1.642, allocations: 4.438 kB / 1.025 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.1059/1.748, allocations: 57.89 MB / 1.081 GB, free: 89.25 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches