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.001011/0.001011, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.233/1.233, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008185/0.0008186, allocations: 96.95 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3039/0.3039, allocations: 43.48 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.599e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.09961, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.421, allocations: 105.4 MB / 0.5757 GB, free: 420 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4213, allocations: 77.5 kB / 0.5758 GB, free: 384 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1795/0.6008, allocations: 79.92 MB / 0.6539 GB, free: 9.184 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6009, allocations: 7.922 kB / 0.6539 GB, free: 9.176 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001093/0.601, allocations: 79.98 kB / 0.6539 GB, free: 9.098 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.00546/0.6064, allocations: 3.561 MB / 0.6574 GB, free: 5.477 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6065, allocations: 12.03 kB / 0.6574 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.6191, allocations: 3.383 MB / 0.6607 GB, free: 2.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.6241, allocations: 2.352 MB / 0.663 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.6243, allocations: 308.1 kB / 0.6633 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009259/0.6253, allocations: 405.4 kB / 0.6637 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.6393, allocations: 10.66 MB / 0.6741 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.194e-05/0.6394, allocations: 47.56 kB / 0.6742 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/0.6399, allocations: 203.8 kB / 0.6744 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001239/0.6411, allocations: 1.143 MB / 0.6755 GB, free: 1.941 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.6556, allocations: 9.287 MB / 0.6846 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2667/0.9224, allocations: 46.99 MB / 0.7304 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004525/0.9269, allocations: 3.454 MB / 0.7338 GB, free: 72.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.9282, allocations: 1.254 MB / 0.735 GB, free: 72.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007349/0.9356, allocations: 5.316 MB / 0.7402 GB, free: 70.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.9356, allocations: 53.16 kB / 0.7403 GB, free: 70.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 4.618e-06/0.9357, allocations: 0 / 0.7403 GB, free: 70.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=153): time 0.00473/0.9404, allocations: 2.533 MB / 0.7428 GB, free: 70.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.9405, allocations: 173.9 kB / 0.7429 GB, free: 70.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.9445, allocations: 3.486 MB / 0.7463 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.9446, allocations: 39.14 kB / 0.7464 GB, free: 69.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.9461, allocations: 3.33 MB / 0.7496 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.9464, allocations: 0.6175 MB / 0.7502 GB, free: 67.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.9466, allocations: 128.6 kB / 0.7503 GB, free: 67.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002506/0.9469, allocations: 0.5893 MB / 0.7509 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.949, allocations: 1.904 MB / 0.7528 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/0.9527, allocations: 6.168 MB / 0.7588 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004603/0.9573, allocations: 3.505 MB / 0.7622 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.9575, allocations: 45.81 kB / 0.7623 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01322/0.9707, allocations: 7.713 MB / 0.7698 GB, free: 59.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.9709, allocations: 70.81 kB / 0.7699 GB, free: 59.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002392/0.9711, allocations: 154.1 kB / 0.77 GB, free: 59.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.9714, allocations: 224.9 kB / 0.7702 GB, free: 59.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004774/0.9762, allocations: 1.511 MB / 0.7717 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003085/0.9765, allocations: 295.6 kB / 0.772 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/0.981, allocations: 0.9319 MB / 0.7729 GB, free: 58.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000697/0.9817, allocations: 414 kB / 0.7733 GB, free: 58.89 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 () * 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.0007234/0.9825, allocations: 0.595 MB / 0.7739 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/0.983, allocations: 321 kB / 0.7742 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008391/0.9838, allocations: 423.2 kB / 0.7746 GB, free: 58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.896e-05/0.9839, allocations: 41.38 kB / 0.7746 GB, free: 58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.9839, allocations: 1.062 kB / 0.7746 GB, free: 58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.9839, allocations: 8.859 kB / 0.7746 GB, free: 58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/0.9914, allocations: 5.759 MB / 0.7802 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.9914, allocations: 7.312 kB / 0.7803 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.9922, allocations: 211.2 kB / 0.7805 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.9922, allocations: 17.56 kB / 0.7805 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.9923, allocations: 26.56 kB / 0.7805 GB, free: 55.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.9923, allocations: 14.88 kB / 0.7805 GB, free: 55.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.9923, allocations: 11 kB / 0.7805 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.9945, allocations: 3.217 MB / 0.7837 GB, free: 53.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.995, allocations: 406.8 kB / 0.7841 GB, free: 53.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.9952, allocations: 28.09 kB / 0.7841 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.9961, allocations: 67.95 kB / 0.7841 GB, free: 53.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.9963, allocations: 86.64 kB / 0.7842 GB, free: 53.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/0.9964, allocations: 47.08 kB / 0.7843 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002417/0.9988, allocations: 2.357 MB / 0.7866 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9988, allocations: 0 / 0.7866 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004334/1.003, allocations: 1.135 MB / 0.7877 GB, free: 52.16 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 () * 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.0003157/1.003, allocations: 165.6 kB / 0.7878 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004937/1.008, allocations: 4.403 MB / 0.7921 GB, free: 50.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.008, allocations: 0 / 0.7921 GB, free: 50.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009134/1.009, allocations: 0.948 MB / 0.7931 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.011, allocations: 335.1 kB / 0.7934 GB, free: 50.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.022, allocations: 7.136 MB / 0.8004 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003158/1.025, allocations: 3.365 MB / 0.8036 GB, free: 46.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004883/1.03, allocations: 2.279 MB / 0.8059 GB, free: 45.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/1.031, allocations: 227 kB / 0.8061 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/1.031, allocations: 0 / 0.8061 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.03892/1.069, allocations: 24.4 MB / 0.8299 GB, free: 40.5 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