Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape") [: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.0009383/0.0009383, allocations: 187.2 kB / 7.801 MB, free: 2.492 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.9959/0.9959, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0007838/0.0007838, allocations: 93.38 kB / 261.4 MB, free: 13.52 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.1461/0.1461, allocations: 43.49 MB / 352.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.38e-06/5.381e-06, allocations: 0 / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2077, allocations: 58.83 MB / 476.5 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.3252, allocations: 106.2 MB / 0.5691 GB, free: 8.711 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.3254, allocations: 71.97 kB / 0.5692 GB, free: 8.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3373/0.6628, allocations: 81.13 MB / 0.6484 GB, free: 106.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.6629, allocations: 86.73 kB / 0.6485 GB, free: 106.6 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: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.006485/0.6694, allocations: 3.961 MB / 0.6524 GB, free: 104.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.6695, allocations: 7.812 kB / 0.6524 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007942/0.6774, allocations: 1.968 MB / 0.6543 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/0.6879, allocations: 5.293 MB / 0.6595 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.6881, allocations: 140.5 kB / 0.6596 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.6891, allocations: 253.9 kB / 0.6598 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00843/0.6976, allocations: 6.335 MB / 0.666 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.7077, allocations: 9.655 MB / 0.6755 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.7078, allocations: 62.75 kB / 0.6755 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000434/0.7083, allocations: 31.25 kB / 0.6756 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001086/0.7094, allocations: 1.086 MB / 0.6766 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03695/0.7463, allocations: 48.87 MB / 0.7243 GB, free: 63.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.749, allocations: 2.547 MB / 0.7268 GB, free: 62.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.7507, allocations: 1.657 MB / 0.7284 GB, free: 61.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007626/0.7583, allocations: 5.923 MB / 0.7342 GB, free: 58.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.7584, allocations: 60.7 kB / 0.7343 GB, free: 58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 4.449e-06/0.7584, allocations: 1 kB / 0.7343 GB, free: 58 MB / 474.7 MB Notification: Performance of matching and sorting (n=170): time 0.02218/0.7806, allocations: 12.38 MB / 0.7464 GB, free: 50.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.7807, allocations: 141.5 kB / 0.7465 GB, free: 49.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.7847, allocations: 3.145 MB / 0.7496 GB, free: 47.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.785, allocations: 25.7 kB / 0.7496 GB, free: 47.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.786, allocations: 3.013 MB / 0.7525 GB, free: 44.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.7865, allocations: 0.6703 MB / 0.7532 GB, free: 43.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.7867, allocations: 0 / 0.7532 GB, free: 43.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.7869, allocations: 0.5757 MB / 0.7538 GB, free: 43.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.7889, allocations: 1.985 MB / 0.7557 GB, free: 41.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/0.792, allocations: 5.917 MB / 0.7615 GB, free: 33.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.7955, allocations: 3.423 MB / 0.7648 GB, free: 31.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-05/0.7956, allocations: 44 kB / 0.7649 GB, free: 30.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01105/0.8066, allocations: 7.693 MB / 0.7724 GB, free: 24.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8067, allocations: 4 kB / 0.7724 GB, free: 24.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004196/0.8109, allocations: 2.544 MB / 0.7749 GB, free: 22.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/0.8141, allocations: 1.07 MB / 0.7759 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/0.8183, allocations: 1.446 MB / 0.7773 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.8221, allocations: 4.438 MB / 0.7817 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004138/0.8262, allocations: 231.6 kB / 0.7819 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008349/0.8271, allocations: 396 kB / 0.7823 GB, free: 14.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 646 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (792): * Single equations (assignments): 783 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001089/0.8282, allocations: 454.3 kB / 0.7827 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/0.8288, allocations: 327.8 kB / 0.783 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/0.8338, allocations: 2.913 MB / 0.7858 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003828/0.8376, allocations: 2.439 MB / 0.7882 GB, free: 8.809 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.8377, allocations: 4 kB / 0.7882 GB, free: 8.805 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.8377, allocations: 7.969 kB / 0.7882 GB, free: 8.797 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.8521, allocations: 8.752 MB / 0.7968 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.8522, allocations: 8.031 kB / 0.7968 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.8535, allocations: 247.7 kB / 0.797 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.8564, allocations: 0.9474 MB / 0.798 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.8566, allocations: 23.97 kB / 0.798 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/0.8617, allocations: 4.612 MB / 0.8025 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008713/0.8626, allocations: 1.371 MB / 0.8038 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007714/0.8703, allocations: 5.764 MB / 0.8095 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008608/0.8712, allocations: 372.7 kB / 0.8098 GB, free: 2.039 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006523/0.8719, allocations: 19.55 kB / 0.8098 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.8734, allocations: 71.89 kB / 0.8099 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.8736, allocations: 92.72 kB / 0.81 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.8738, allocations: 47.98 kB / 0.81 GB, free: 1.816 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.003666/0.8774, allocations: 2.09 MB / 0.8121 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005007/0.8824, allocations: 0.914 MB / 0.813 GB, free: 14.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 130 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/0.8829, allocations: 153.7 kB / 0.8131 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008765/0.8917, allocations: 5.313 MB / 0.8183 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8917, allocations: 8 kB / 0.8183 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003516/0.8952, allocations: 2.015 MB / 0.8203 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.897, allocations: 344.2 kB / 0.8206 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.144/1.041, allocations: 8.027 MB / 0.8284 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004445/1.046, allocations: 3.615 MB / 0.832 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/1.046, allocations: 3.594 kB / 0.832 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.05345/1.099, allocations: 35.2 MB / 0.8663 GB, free: 172.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches