Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [: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.001165/0.001165, allocations: 193.4 kB / 8.522 MB, free: 2.648 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 97.36 kB / 281.2 MB, free: 5.195 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.287/0.287, allocations: 44.13 MB / 376.1 MB, free: 44.84 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.366e-05, allocations: 11.88 kB / 444 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 61.91 MB / 0.4941 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/0.4343, allocations: 105.8 MB / 0.5975 GB, free: 10.1 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4346, allocations: 74.22 kB / 0.5975 GB, free: 10.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.194/0.6287, allocations: 76.46 MB / 0.6722 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002385/0.629, allocations: 72 kB / 0.6723 GB, free: 13.29 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.0117/0.6407, allocations: 3.459 MB / 0.6756 GB, free: 9.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.6408, allocations: 19.91 kB / 0.6757 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.6557, allocations: 2.713 MB / 0.6783 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/0.663, allocations: 2.305 MB / 0.6806 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.6634, allocations: 128 kB / 0.6807 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.6655, allocations: 224 kB / 0.6809 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01336/0.6789, allocations: 6.588 MB / 0.6873 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.7005, allocations: 9.851 MB / 0.6969 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/0.7007, allocations: 51.47 kB / 0.697 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001524/0.7022, allocations: 28 kB / 0.697 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/0.7037, allocations: 1.166 MB / 0.6982 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1904/0.8941, allocations: 45.5 MB / 0.7426 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.8967, allocations: 2.735 MB / 0.7453 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.8977, allocations: 1.019 MB / 0.7463 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.8978, allocations: 22.66 kB / 0.7463 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.8979, allocations: 52.81 kB / 0.7463 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=171): time 4.198e-06/0.8979, allocations: 2.844 kB / 0.7463 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171): time 0.003959/0.9018, allocations: 2.431 MB / 0.7487 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.9019, allocations: 170.7 kB / 0.7489 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.9058, allocations: 3.117 MB / 0.7519 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.9059, allocations: 31.23 kB / 0.7519 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.9073, allocations: 3.187 MB / 0.7551 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/0.9077, allocations: 0.6571 MB / 0.7557 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.9079, allocations: 0 / 0.7557 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003113/0.9083, allocations: 0.6631 MB / 0.7563 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.9104, allocations: 1.913 MB / 0.7582 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/0.914, allocations: 6.359 MB / 0.7644 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.9179, allocations: 3.594 MB / 0.7679 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.957e-05/0.918, allocations: 45.47 kB / 0.768 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.01051/0.9285, allocations: 7.135 MB / 0.7749 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9286, allocations: 3.594 kB / 0.7749 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/0.9288, allocations: 160.9 kB / 0.7751 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.929, allocations: 235.2 kB / 0.7753 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/0.9337, allocations: 1.561 MB / 0.7768 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002599/0.9339, allocations: 311.5 kB / 0.7771 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/0.9387, allocations: 0.7798 MB / 0.7779 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006109/0.9393, allocations: 428.7 kB / 0.7783 GB, free: 123.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 730 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (855): * Single equations (assignments): 849 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007566/0.9401, allocations: 481.8 kB / 0.7788 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.9406, allocations: 302.8 kB / 0.7791 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.9431, allocations: 1.776 MB / 0.7808 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-05/0.9431, allocations: 36.5 kB / 0.7808 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.9432, allocations: 3.906 kB / 0.7808 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.9432, allocations: 10.34 kB / 0.7808 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008651/0.9518, allocations: 5.749 MB / 0.7865 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.9519, allocations: 8.75 kB / 0.7865 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.953, allocations: 216.6 kB / 0.7867 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/0.953, allocations: 18.31 kB / 0.7867 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.805e-05/0.9531, allocations: 18.94 kB / 0.7867 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.9531, allocations: 15.84 kB / 0.7867 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.9532, allocations: 9.312 kB / 0.7867 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002931/0.9561, allocations: 3.43 MB / 0.7901 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006829/0.9568, allocations: 364.5 kB / 0.7904 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.9572, allocations: 12.17 kB / 0.7904 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/0.9582, allocations: 29.28 kB / 0.7905 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.9583, allocations: 87.25 kB / 0.7906 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.9585, allocations: 52.31 kB / 0.7906 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 0.002937/0.9614, allocations: 2.037 MB / 0.7926 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005821/0.9672, allocations: 0.9971 MB / 0.7936 GB, free: 116.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004365/0.9677, allocations: 152.2 kB / 0.7937 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008327/0.976, allocations: 4.417 MB / 0.798 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/0.9761, allocations: 0 / 0.798 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.9777, allocations: 1.053 MB / 0.7991 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.9796, allocations: 261.6 kB / 0.7993 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/0.998, allocations: 7.28 MB / 0.8064 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005745/1.004, allocations: 3.575 MB / 0.8099 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/1.004, allocations: 0 / 0.8099 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.059/1.063, allocations: 28.24 MB / 0.8375 GB, free: 92.36 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches