Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.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_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_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 185 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001021/0.001021, allocations: 94.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2388/0.2388, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003443, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5908, allocations: 105.5 MB / 0.5818 GB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.591, allocations: 84.05 kB / 0.5819 GB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1922/0.7832, allocations: 79.83 MB / 0.6598 GB, free: 2.438 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.7833, allocations: 0 / 0.6598 GB, free: 2.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001623/0.7835, allocations: 80 kB / 0.6599 GB, free: 2.359 MB / 458.7 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.01047/0.7939, allocations: 3.671 MB / 0.6635 GB, free: 14.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.794, allocations: 8.031 kB / 0.6635 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.8083, allocations: 3.395 MB / 0.6668 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008907/0.8173, allocations: 2.348 MB / 0.6691 GB, free: 8.805 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/0.8177, allocations: 312 kB / 0.6694 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002291/0.82, allocations: 399.9 kB / 0.6698 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.8422, allocations: 10.75 MB / 0.6803 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.8424, allocations: 47.56 kB / 0.6803 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007746/0.8431, allocations: 207.8 kB / 0.6805 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.8446, allocations: 1.143 MB / 0.6816 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.8631, allocations: 9.426 MB / 0.6908 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3729/1.236, allocations: 46.98 MB / 0.7367 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006492/1.243, allocations: 3.489 MB / 0.7401 GB, free: 94.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.255, allocations: 5.316 MB / 0.7453 GB, free: 92.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.255, allocations: 50.31 kB / 0.7454 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 3.446e-06/1.255, allocations: 1.469 kB / 0.7454 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=153): time 0.007411/1.262, allocations: 3.863 MB / 0.7491 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/1.262, allocations: 168 kB / 0.7493 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/1.268, allocations: 3.52 MB / 0.7527 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.268, allocations: 47.19 kB / 0.7528 GB, free: 91.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/1.27, allocations: 3.32 MB / 0.756 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006335/1.271, allocations: 0.618 MB / 0.7566 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.271, allocations: 127.5 kB / 0.7567 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003369/1.271, allocations: 0.6001 MB / 0.7573 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/1.274, allocations: 1.942 MB / 0.7592 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/1.278, allocations: 6.21 MB / 0.7653 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004577/1.283, allocations: 3.493 MB / 0.7687 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.023e-05/1.283, allocations: 43.91 kB / 0.7687 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01207/1.295, allocations: 7.799 MB / 0.7764 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-05/1.295, allocations: 68.97 kB / 0.7764 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/1.295, allocations: 152.3 kB / 0.7766 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/1.295, allocations: 225.9 kB / 0.7768 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/1.299, allocations: 1.51 MB / 0.7783 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000185/1.3, allocations: 300.3 kB / 0.7785 GB, free: 81.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005753/1.305, allocations: 0.9296 MB / 0.7795 GB, free: 81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007096/1.306, allocations: 412 kB / 0.7799 GB, free: 80.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * 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.003941/1.31, allocations: 2.288 MB / 0.7821 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/1.311, allocations: 323.2 kB / 0.7824 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000915/1.312, allocations: 424.5 kB / 0.7828 GB, free: 79.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.514e-05/1.312, allocations: 32.03 kB / 0.7828 GB, free: 79.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/1.312, allocations: 0 / 0.7828 GB, free: 79.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.312, allocations: 10.53 kB / 0.7828 GB, free: 79.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.323, allocations: 5.763 MB / 0.7885 GB, free: 77.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/1.323, allocations: 10.41 kB / 0.7885 GB, free: 77.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/1.324, allocations: 207.2 kB / 0.7887 GB, free: 77.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/1.324, allocations: 12.5 kB / 0.7887 GB, free: 77.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/1.324, allocations: 36.47 kB / 0.7887 GB, free: 77.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/1.324, allocations: 11.69 kB / 0.7887 GB, free: 77.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.324, allocations: 11.28 kB / 0.7887 GB, free: 77.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/1.327, allocations: 3.242 MB / 0.7919 GB, free: 75.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/1.328, allocations: 397.7 kB / 0.7923 GB, free: 74.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/1.328, allocations: 32.28 kB / 0.7923 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/1.329, allocations: 68.53 kB / 0.7924 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.329, allocations: 82.08 kB / 0.7925 GB, free: 74.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/1.329, allocations: 44.44 kB / 0.7925 GB, free: 74.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003536/1.333, allocations: 2.397 MB / 0.7948 GB, free: 73.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.333, allocations: 0 / 0.7948 GB, free: 73.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005369/1.338, allocations: 1.135 MB / 0.796 GB, free: 73.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * 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.0003544/1.339, allocations: 164.7 kB / 0.7961 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006065/1.345, allocations: 4.451 MB / 0.8005 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/1.345, allocations: 0 / 0.8005 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009907/1.346, allocations: 0.9627 MB / 0.8014 GB, free: 71.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/1.348, allocations: 336.5 kB / 0.8017 GB, free: 71.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.364, allocations: 10.28 MB / 0.8118 GB, free: 65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/1.367, allocations: 3.366 MB / 0.815 GB, free: 62.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005104/1.372, allocations: 2.278 MB / 0.8173 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/1.373, allocations: 227.1 kB / 0.8175 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/1.373, allocations: 3.75 kB / 0.8175 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.04937/1.422, allocations: 24.37 MB / 0.8413 GB, free: 43.64 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches