Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001645, allocations: 174.4 kB / 8.145 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001265, allocations: 91.5 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2551/0.2551, allocations: 43.48 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.238e-06/9.487e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.5008, allocations: 106.2 MB / 0.5691 GB, free: 8.805 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5012, allocations: 75.47 kB / 0.5692 GB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5406/1.042, allocations: 81.14 MB / 0.6484 GB, free: 106.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002556/1.042, allocations: 85 kB / 0.6485 GB, free: 106.3 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.01434/1.056, allocations: 3.949 MB / 0.6524 GB, free: 104.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.361e-05/1.057, allocations: 13.16 kB / 0.6524 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/1.074, allocations: 1.967 MB / 0.6543 GB, free: 104.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01908/1.093, allocations: 5.298 MB / 0.6595 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/1.093, allocations: 141.1 kB / 0.6596 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/1.096, allocations: 249.6 kB / 0.6598 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01706/1.113, allocations: 6.332 MB / 0.666 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02632/1.139, allocations: 9.65 MB / 0.6754 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000344/1.139, allocations: 65.84 kB / 0.6755 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002419/1.142, allocations: 31.88 kB / 0.6755 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002394/1.144, allocations: 1.092 MB / 0.6766 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07461/1.219, allocations: 48.87 MB / 0.7243 GB, free: 63.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/1.225, allocations: 2.541 MB / 0.7268 GB, free: 61.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/1.229, allocations: 1.66 MB / 0.7284 GB, free: 61.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0161/1.245, allocations: 5.927 MB / 0.7342 GB, free: 57.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.245, allocations: 51 kB / 0.7343 GB, free: 57.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 5.821e-06/1.245, allocations: 0 / 0.7343 GB, free: 57.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=170): time 0.04799/1.293, allocations: 12.38 MB / 0.7464 GB, free: 50.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.293, allocations: 141.5 kB / 0.7465 GB, free: 49.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007538/1.301, allocations: 3.147 MB / 0.7496 GB, free: 47.19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004456/1.301, allocations: 29.64 kB / 0.7496 GB, free: 47.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.303, allocations: 2.988 MB / 0.7525 GB, free: 44.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.304, allocations: 0.6593 MB / 0.7531 GB, free: 43.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007324/1.305, allocations: 0 / 0.7531 GB, free: 43.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005298/1.306, allocations: 0.5843 MB / 0.7537 GB, free: 43.33 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005064/1.311, allocations: 1.983 MB / 0.7557 GB, free: 41.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007478/1.318, allocations: 5.915 MB / 0.7614 GB, free: 33.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007778/1.326, allocations: 3.432 MB / 0.7648 GB, free: 31.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/1.326, allocations: 40 kB / 0.7648 GB, free: 30.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.02388/1.35, allocations: 7.596 MB / 0.7722 GB, free: 24.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.35, allocations: 7.938 kB / 0.7722 GB, free: 24.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009421/1.36, allocations: 2.545 MB / 0.7747 GB, free: 22.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006624/1.366, allocations: 1.05 MB / 0.7758 GB, free: 21.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008983/1.375, allocations: 1.444 MB / 0.7772 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/1.378, allocations: 1.862 MB / 0.779 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005983/1.384, allocations: 222.3 kB / 0.7792 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.386, allocations: 398.2 kB / 0.7796 GB, free: 17.82 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): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002013/1.388, allocations: 396.7 kB / 0.78 GB, free: 17.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/1.389, allocations: 324.4 kB / 0.7803 GB, free: 17.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.399, allocations: 2.905 MB / 0.7831 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008832/1.408, allocations: 2.446 MB / 0.7855 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/1.408, allocations: 0 / 0.7855 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-05/1.408, allocations: 11.97 kB / 0.7855 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02763/1.436, allocations: 8.741 MB / 0.794 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/1.436, allocations: 4 kB / 0.794 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/1.439, allocations: 255.6 kB / 0.7943 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005835/1.445, allocations: 0.9475 MB / 0.7952 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003963/1.445, allocations: 23.97 kB / 0.7952 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009364/1.455, allocations: 4.61 MB / 0.7997 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001442/1.456, allocations: 1.379 MB / 0.8011 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01605/1.472, allocations: 5.76 MB / 0.8067 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.474, allocations: 376.6 kB / 0.8071 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009552/1.475, allocations: 15.98 kB / 0.8071 GB, free: 5.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.477, allocations: 75.89 kB / 0.8072 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004085/1.478, allocations: 88.72 kB / 0.8072 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.478, allocations: 55.98 kB / 0.8073 GB, free: 4.914 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005776/1.484, allocations: 2.082 MB / 0.8093 GB, free: 2.848 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007651/1.492, allocations: 0.914 MB / 0.8102 GB, free: 1.934 MB / 490.7 MB 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.0007173/1.492, allocations: 150.9 kB / 0.8104 GB, free: 1.777 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01764/1.51, allocations: 5.444 MB / 0.8157 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.51, allocations: 8 kB / 0.8157 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00752/1.518, allocations: 2.011 MB / 0.8177 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.521, allocations: 346.3 kB / 0.818 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02975/1.551, allocations: 8.507 MB / 0.8263 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1693/1.72, allocations: 3.641 MB / 0.8298 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/1.72, allocations: 0 / 0.8298 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1999/1.92, allocations: 124.4 MB / 0.9514 GB, free: 100.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches