Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") [: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.0009908/0.0009909, allocations: 175 kB / 8.518 MB, free: 1.855 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.222/1.222, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.0009366/0.0009366, allocations: 88.73 kB / 281.2 MB, free: 5.5 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.1701/0.1701, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.951e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3121/0.423, allocations: 106.1 MB / 0.5977 GB, free: 6.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4233, allocations: 75.95 kB / 0.5978 GB, free: 6.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5513/0.9746, allocations: 150.7 MB / 0.745 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004226/0.9751, allocations: 157.5 kB / 0.7451 GB, free: 101.8 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02198/0.9971, allocations: 7.538 MB / 0.7525 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.9971, allocations: 8.844 kB / 0.7525 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04293/1.04, allocations: 11.5 MB / 0.7637 GB, free: 98.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02669/1.067, allocations: 10.06 MB / 0.7736 GB, free: 95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/1.067, allocations: 251.4 kB / 0.7738 GB, free: 95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003222/1.07, allocations: 467.6 kB / 0.7742 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02162/1.092, allocations: 10.51 MB / 0.7845 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/1.119, allocations: 15.81 MB / 0.7999 GB, free: 74.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003797/1.12, allocations: 111 kB / 0.8001 GB, free: 73.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/1.121, allocations: 44 kB / 0.8001 GB, free: 73.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/1.123, allocations: 1.697 MB / 0.8018 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06995/1.193, allocations: 74.76 MB / 0.8748 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007298/1.2, allocations: 5.711 MB / 0.8803 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005108/1.206, allocations: 4.003 MB / 0.8842 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02072/1.226, allocations: 12.51 MB / 0.8965 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/1.226, allocations: 56.12 kB / 0.8965 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=233): time 6.432e-06/1.226, allocations: 0 / 0.8965 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=261): time 0.2414/1.468, allocations: 27.98 MB / 0.9238 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/1.468, allocations: 292.2 kB / 0.9241 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007033/1.475, allocations: 5.195 MB / 0.9292 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005827/1.476, allocations: 31.52 kB / 0.9292 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002853/1.479, allocations: 4.783 MB / 0.9339 GB, free: 171 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.48, allocations: 0.9834 MB / 0.9349 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/1.48, allocations: 0 / 0.9349 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003845/1.48, allocations: 0.6737 MB / 0.9355 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/1.484, allocations: 2.814 MB / 0.9383 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005529/1.489, allocations: 8.151 MB / 0.9462 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/1.496, allocations: 4.776 MB / 0.9509 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.496, allocations: 54.28 kB / 0.9509 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01715/1.513, allocations: 10.48 MB / 0.9612 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.513, allocations: 10.5 kB / 0.9612 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005055/1.514, allocations: 189.2 kB / 0.9614 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/1.516, allocations: 0.9895 MB / 0.9623 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006035/1.522, allocations: 1.962 MB / 0.9642 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.532, allocations: 10.36 MB / 0.9744 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00759/1.54, allocations: 259 kB / 0.9746 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/1.542, allocations: 0.5311 MB / 0.9751 GB, free: 151.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1062): * Single equations (assignments): 1055 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00305/1.545, allocations: 0.5845 MB / 0.9757 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/1.547, allocations: 0.5421 MB / 0.9762 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008456/1.555, allocations: 4.486 MB / 0.9806 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.035e-05/1.555, allocations: 26.22 kB / 0.9806 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3e-05/1.555, allocations: 11.16 kB / 0.9806 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/1.555, allocations: 9.656 kB / 0.9807 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/1.578, allocations: 10.86 MB / 0.9913 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/1.578, allocations: 5.344 kB / 0.9913 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/1.581, allocations: 377.3 kB / 0.9916 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.582, allocations: 0.6633 MB / 0.9923 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.583, allocations: 7.703 kB / 0.9923 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007806/1.59, allocations: 9.234 MB / 1.001 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.59, allocations: 4.109 kB / 1.001 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009723/1.6, allocations: 7.9 MB / 1.009 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.602, allocations: 0.5578 MB / 1.01 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008049/1.603, allocations: 4 kB / 1.01 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/1.605, allocations: 82.25 kB / 1.01 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.605, allocations: 116.5 kB / 1.01 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.605, allocations: 64 kB / 1.01 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.005288/1.611, allocations: 3.554 MB / 1.013 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00801/1.619, allocations: 1.418 MB / 1.015 GB, free: 123.8 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,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 (205): * Single equations (assignments): 198 * 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 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004943/1.619, allocations: 157.4 kB / 1.015 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009037/1.628, allocations: 7.091 MB / 1.022 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.628, allocations: 4 kB / 1.022 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.631, allocations: 2.433 MB / 1.024 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/1.635, allocations: 0.7364 MB / 1.025 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/1.662, allocations: 13.11 MB / 1.038 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007223/1.669, allocations: 5.963 MB / 1.043 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.669, allocations: 0 / 1.043 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.1031/1.772, allocations: 58.33 MB / 1.1 GB, free: 47.73 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches