Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001073/0.001073, allocations: 205.1 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000924/0.000924, allocations: 93.36 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.188/0.188, allocations: 45.14 MB / 383.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.494e-06, allocations: 7.938 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.4418, allocations: 108.6 MB / 0.6099 GB, free: 10.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.442, allocations: 68.84 kB / 0.6099 GB, free: 10.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2081/0.6501, allocations: 82.31 MB / 0.6903 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002748/0.6505, allocations: 80 kB / 0.6904 GB, free: 0.5 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01527/0.6658, allocations: 3.861 MB / 0.6942 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.6658, allocations: 8.031 kB / 0.6942 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.6772, allocations: 1.995 MB / 0.6961 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.6894, allocations: 4.43 MB / 0.7005 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.6897, allocations: 136 kB / 0.7006 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.6917, allocations: 244 kB / 0.7008 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0124/0.7041, allocations: 6.123 MB / 0.7068 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02207/0.7263, allocations: 9.395 MB / 0.716 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003132/0.7266, allocations: 55.5 kB / 0.716 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/0.7283, allocations: 39.84 kB / 0.7161 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/0.7301, allocations: 1.049 MB / 0.7171 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2231/0.9532, allocations: 48.13 MB / 0.7641 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.9556, allocations: 2.491 MB / 0.7665 GB, free: 170 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.9571, allocations: 1.627 MB / 0.7681 GB, free: 170 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007202/0.9644, allocations: 5.792 MB / 0.7738 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.9644, allocations: 52.72 kB / 0.7738 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=144): time 5.36e-06/0.9645, allocations: 0 / 0.7738 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=161): time 0.0221/0.9866, allocations: 12.04 MB / 0.7856 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.9866, allocations: 148.6 kB / 0.7857 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/0.9903, allocations: 3.072 MB / 0.7887 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.9905, allocations: 25.7 kB / 0.7887 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.9916, allocations: 2.937 MB / 0.7916 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/0.9921, allocations: 0.6384 MB / 0.7922 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.9923, allocations: 0 / 0.7922 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.9925, allocations: 0.5636 MB / 0.7928 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.9945, allocations: 1.931 MB / 0.7947 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/0.9977, allocations: 5.764 MB / 0.8003 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/1.001, allocations: 3.329 MB / 0.8035 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.24e-05/1.001, allocations: 42.03 kB / 0.8036 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01043/1.011, allocations: 7.508 MB / 0.8109 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.012, allocations: 5.594 kB / 0.8109 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003939/1.015, allocations: 2.46 MB / 0.8133 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/1.019, allocations: 1.068 MB / 0.8144 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/1.022, allocations: 1.392 MB / 0.8157 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/1.026, allocations: 4.428 MB / 0.8201 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/1.03, allocations: 227.8 kB / 0.8203 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/1.03, allocations: 383.3 kB / 0.8206 GB, free: 151.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (767): * Single equations (assignments): 758 * 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.0005778/1.031, allocations: 450.1 kB / 0.8211 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/1.031, allocations: 324.7 kB / 0.8214 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/1.036, allocations: 2.795 MB / 0.8241 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004152/1.04, allocations: 2.371 MB / 0.8264 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.04, allocations: 2.156 kB / 0.8264 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.04, allocations: 6.094 kB / 0.8264 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/1.057, allocations: 8.503 MB / 0.8347 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.057, allocations: 8 kB / 0.8347 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/1.059, allocations: 235.2 kB / 0.835 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005137/1.064, allocations: 0.9473 MB / 0.8359 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/1.064, allocations: 19.56 kB / 0.8359 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007329/1.072, allocations: 4.609 MB / 0.8404 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000813/1.073, allocations: 1.369 MB / 0.8417 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006559/1.079, allocations: 5.6 MB / 0.8472 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/1.08, allocations: 371.9 kB / 0.8476 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/1.08, allocations: 16.11 kB / 0.8476 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.082, allocations: 68.75 kB / 0.8476 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.082, allocations: 86.09 kB / 0.8477 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.082, allocations: 50.14 kB / 0.8478 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002728/1.085, allocations: 2.046 MB / 0.8498 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004518/1.089, allocations: 0.8959 MB / 0.8506 GB, free: 128.2 MB / 0.5261 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 (127): * Single equations (assignments): 120 * 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.0003658/1.089, allocations: 165.3 kB / 0.8508 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006775/1.096, allocations: 5.165 MB / 0.8559 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.096, allocations: 4 kB / 0.8559 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003058/1.099, allocations: 1.967 MB / 0.8578 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.101, allocations: 352.9 kB / 0.8581 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.113, allocations: 7.752 MB / 0.8657 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003487/1.117, allocations: 3.532 MB / 0.8691 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/1.117, allocations: 0 / 0.8691 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.05601/1.173, allocations: 34.33 MB / 0.9027 GB, free: 82.09 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches