Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001731/0.001731, allocations: 182.1 kB / 8.146 MB, free: 0.8594 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.2 MB / 213.7 MB, free: 8.574 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001284/0.001283, allocations: 92.66 kB / 261.8 MB, free: 5.16 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2574/0.2574, allocations: 43.49 MB / 353.2 MB, free: 11.42 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.784e-06/7.905e-06, allocations: 0 / 417.7 MB, free: 68.57 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 58.85 MB / 476.6 MB, free: 9.664 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4631, allocations: 104.7 MB / 0.5676 GB, free: 8.281 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4634, allocations: 78.39 kB / 0.5677 GB, free: 8.242 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.3106/0.7741, allocations: 77.39 MB / 0.6432 GB, free: 2.617 MB / 450.8 MB Notification: Performance of Transformations before backend: time 0.0001908/0.7743, allocations: 72 kB / 0.6433 GB, free: 2.547 MB / 450.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01217/0.7865, allocations: 3.547 MB / 0.6468 GB, free: 14.93 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.7866, allocations: 11.97 kB / 0.6468 GB, free: 14.92 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02523/0.8118, allocations: 2.736 MB / 0.6495 GB, free: 12.18 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0087/0.8206, allocations: 2.352 MB / 0.6518 GB, free: 9.766 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.8209, allocations: 132 kB / 0.6519 GB, free: 9.637 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002304/0.8232, allocations: 232 kB / 0.6521 GB, free: 9.41 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01865/0.8419, allocations: 6.799 MB / 0.6587 GB, free: 2.602 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0272/0.8691, allocations: 10.12 MB / 0.6686 GB, free: 7.52 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/0.8693, allocations: 43.56 kB / 0.6687 GB, free: 7.477 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.8703, allocations: 28 kB / 0.6687 GB, free: 7.449 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.8724, allocations: 1.209 MB / 0.6699 GB, free: 6.238 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2321/1.104, allocations: 46.13 MB / 0.7149 GB, free: 157.6 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004664/1.109, allocations: 2.781 MB / 0.7176 GB, free: 156.4 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/1.112, allocations: 1.041 MB / 0.7186 GB, free: 156.3 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.112, allocations: 22.33 kB / 0.7187 GB, free: 156.3 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/1.112, allocations: 52.75 kB / 0.7187 GB, free: 156.3 MB / 498.8 MB Notification: Performance of pre-optimization done (n=179): time 5.621e-06/1.112, allocations: 2.812 kB / 0.7187 GB, free: 156.3 MB / 498.8 MB Notification: Performance of matching and sorting (n=179): time 0.00737/1.119, allocations: 2.479 MB / 0.7211 GB, free: 156.1 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/1.119, allocations: 168.5 kB / 0.7213 GB, free: 155.9 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006908/1.126, allocations: 3.171 MB / 0.7244 GB, free: 155.6 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000308/1.127, allocations: 25.7 kB / 0.7244 GB, free: 155.5 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002448/1.129, allocations: 3.291 MB / 0.7276 GB, free: 153.8 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.13, allocations: 0.6956 MB / 0.7283 GB, free: 153.4 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006228/1.131, allocations: 0 / 0.7283 GB, free: 153.4 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0004744/1.131, allocations: 0.6149 MB / 0.7289 GB, free: 153.1 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/1.136, allocations: 1.96 MB / 0.7308 GB, free: 153.1 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007708/1.144, allocations: 6.503 MB / 0.7372 GB, free: 147.1 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00803/1.152, allocations: 3.682 MB / 0.7408 GB, free: 147.1 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/1.152, allocations: 45.47 kB / 0.7408 GB, free: 147.1 MB / 498.8 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.01949/1.171, allocations: 7.273 MB / 0.7479 GB, free: 146.2 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.172, allocations: 7.625 kB / 0.7479 GB, free: 146.2 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002432/1.172, allocations: 163.8 kB / 0.7481 GB, free: 146.2 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/1.172, allocations: 240.8 kB / 0.7483 GB, free: 146.2 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/1.185, allocations: 1.602 MB / 0.7499 GB, free: 146.1 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003817/1.185, allocations: 317.4 kB / 0.7502 GB, free: 146 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009642/1.195, allocations: 0.5099 MB / 0.7507 GB, free: 145.8 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/1.197, allocations: 441.8 kB / 0.7511 GB, free: 145.8 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 21 (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 (880): * Single equations (assignments): 874 * 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.001812/1.198, allocations: 429.7 kB / 0.7515 GB, free: 145.5 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.2, allocations: 309.6 kB / 0.7518 GB, free: 145.3 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006848/1.206, allocations: 1.928 MB / 0.7537 GB, free: 144.9 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001773/1.207, allocations: 32.16 kB / 0.7537 GB, free: 144.9 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/1.207, allocations: 3.531 kB / 0.7537 GB, free: 144.9 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/1.207, allocations: 6.938 kB / 0.7537 GB, free: 144.9 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/1.229, allocations: 6.245 MB / 0.7598 GB, free: 142.2 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/1.229, allocations: 8.844 kB / 0.7598 GB, free: 142.2 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/1.232, allocations: 230 kB / 0.7601 GB, free: 142.2 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.795e-05/1.232, allocations: 19.47 kB / 0.7601 GB, free: 142.2 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/1.232, allocations: 11.81 kB / 0.7601 GB, free: 142.2 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.467e-05/1.232, allocations: 22.98 kB / 0.7601 GB, free: 142.2 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/1.232, allocations: 11.31 kB / 0.7601 GB, free: 142.2 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008664/1.241, allocations: 3.665 MB / 0.7637 GB, free: 139.7 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.243, allocations: 0.4909 MB / 0.7642 GB, free: 139.3 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/1.244, allocations: 13.92 kB / 0.7642 GB, free: 139.3 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003712/1.248, allocations: 41.08 kB / 0.7642 GB, free: 139.3 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/1.249, allocations: 90.31 kB / 0.7643 GB, free: 139.3 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.249, allocations: 54.36 kB / 0.7644 GB, free: 139.3 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.006566/1.256, allocations: 2.081 MB / 0.7664 GB, free: 138.6 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.008117/1.264, allocations: 1.021 MB / 0.7674 GB, free: 138 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.0007447/1.265, allocations: 151.4 kB / 0.7675 GB, free: 137.9 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.01011/1.275, allocations: 4.521 MB / 0.772 GB, free: 133.8 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/1.275, allocations: 4 kB / 0.772 GB, free: 133.8 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/1.277, allocations: 1.078 MB / 0.773 GB, free: 132.8 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/1.279, allocations: 269 kB / 0.7733 GB, free: 132.6 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/1.302, allocations: 7.978 MB / 0.7811 GB, free: 125.3 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008963/1.311, allocations: 3.659 MB / 0.7846 GB, free: 122.4 MB / 498.8 MB Notification: Performance of SimCode: time 1.813e-06/1.311, allocations: 0 / 0.7846 GB, free: 122.4 MB / 498.8 MB Notification: Performance of Templates: time 0.0974/1.408, allocations: 51.92 MB / 0.8353 GB, free: 78.84 MB / 498.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches