Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 192.6 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9984/0.9984, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 95.14 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1468/0.1468, allocations: 43.49 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.251e-06/6.281e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3096, allocations: 107.9 MB / 0.5708 GB, free: 6.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001565/0.3098, allocations: 79.25 kB / 0.5709 GB, free: 6.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4683/0.7781, allocations: 147.8 MB / 0.7152 GB, free: 90.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004998/0.7786, allocations: 154.2 kB / 0.7153 GB, free: 90.92 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.0192/0.7978, allocations: 7.322 MB / 0.7225 GB, free: 83.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7979, allocations: 12.03 kB / 0.7225 GB, free: 83.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03304/0.8309, allocations: 9.227 MB / 0.7315 GB, free: 74.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/0.8515, allocations: 9.235 MB / 0.7405 GB, free: 65.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/0.8519, allocations: 255.9 kB / 0.7408 GB, free: 64.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/0.8551, allocations: 463.8 kB / 0.7412 GB, free: 64.37 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0168/0.8719, allocations: 10.79 MB / 0.7517 GB, free: 53.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/0.8993, allocations: 16.47 MB / 0.7678 GB, free: 35.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/0.8997, allocations: 107 kB / 0.7679 GB, free: 35.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/0.9017, allocations: 52 kB / 0.768 GB, free: 35.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001777/0.9035, allocations: 1.823 MB / 0.7698 GB, free: 33.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2095/1.113, allocations: 79.4 MB / 0.8473 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/1.119, allocations: 6.301 MB / 0.8535 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/1.123, allocations: 4.43 MB / 0.8578 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/1.14, allocations: 11.97 MB / 0.8695 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.14, allocations: 69.06 kB / 0.8695 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=301): time 5.701e-06/1.14, allocations: 0 / 0.8695 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.05115/1.191, allocations: 30.25 MB / 0.8991 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/1.191, allocations: 293.2 kB / 0.8994 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00864/1.2, allocations: 5.207 MB / 0.9044 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.201, allocations: 28.39 kB / 0.9045 GB, free: 98.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003588/1.205, allocations: 4.941 MB / 0.9093 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/1.207, allocations: 1.235 MB / 0.9105 GB, free: 93.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.207, allocations: 0 / 0.9105 GB, free: 93.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004625/1.207, allocations: 0.7328 MB / 0.9112 GB, free: 93.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/1.212, allocations: 3.595 MB / 0.9147 GB, free: 92.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00614/1.219, allocations: 9.397 MB / 0.9239 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006154/1.225, allocations: 5.78 MB / 0.9295 GB, free: 81.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.225, allocations: 57.88 kB / 0.9296 GB, free: 81.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.01894/1.244, allocations: 12.75 MB / 0.942 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.244, allocations: 4 kB / 0.9421 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/1.244, allocations: 208 kB / 0.9423 GB, free: 71.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002813/1.247, allocations: 1.35 MB / 0.9436 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007189/1.254, allocations: 2.286 MB / 0.9458 GB, free: 68.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.264, allocations: 10.49 MB / 0.956 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007663/1.272, allocations: 314.3 kB / 0.9563 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.273, allocations: 0.5901 MB / 0.9569 GB, free: 58.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 944 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],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.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.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 (1214): * Single equations (assignments): 1208 * 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.001467/1.275, allocations: 0.6216 MB / 0.9575 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.276, allocations: 0.5553 MB / 0.9581 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009379/1.285, allocations: 6.417 MB / 0.9643 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-05/1.285, allocations: 32 kB / 0.9644 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.285, allocations: 11.94 kB / 0.9644 GB, free: 51.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-05/1.286, allocations: 20.92 kB / 0.9644 GB, free: 51.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/1.309, allocations: 13.76 MB / 0.9778 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.309, allocations: 0 / 0.9778 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002958/1.312, allocations: 0.5498 MB / 0.9784 GB, free: 39.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002594/1.315, allocations: 1.006 MB / 0.9794 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003179/1.315, allocations: 15.91 kB / 0.9794 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009282/1.324, allocations: 9.496 MB / 0.9886 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.324, allocations: 4.609 kB / 0.9886 GB, free: 30.27 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01354/1.338, allocations: 11.01 MB / 0.9994 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/1.341, allocations: 1.07 MB / 1 GB, free: 19.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/1.342, allocations: 7.906 kB / 1 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/1.344, allocations: 102.2 kB / 1.001 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003882/1.345, allocations: 151.7 kB / 1.001 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/1.345, allocations: 86.2 kB / 1.001 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004946/1.35, allocations: 3.534 MB / 1.004 GB, free: 16.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01038/1.36, allocations: 1.53 MB / 1.006 GB, free: 14.61 MB / 0.4948 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 (283): * Single equations (assignments): 277 * 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.0006582/1.361, allocations: 161.5 kB / 1.006 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01207/1.373, allocations: 8.965 MB / 1.015 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.373, allocations: 0 / 1.015 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/1.377, allocations: 3.335 MB / 1.018 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/1.381, allocations: 0.6102 MB / 1.018 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1761/1.557, allocations: 14.32 MB / 1.032 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007487/1.565, allocations: 6.069 MB / 1.038 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/1.565, allocations: 0 / 1.038 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.1069/1.672, allocations: 66.79 MB / 1.104 GB, free: 127.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches