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.001272/0.001272, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.477/1.477, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007991/0.0007988, allocations: 85.05 kB / 271.3 MB, free: 8.238 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.321/0.321, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 20 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4748, allocations: 105.6 MB / 0.5831 GB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.475, allocations: 79.95 kB / 0.5832 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1905/0.6655, allocations: 78.82 MB / 0.6602 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6656, allocations: 0 / 0.6602 GB, free: 12.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002177/0.6658, allocations: 72 kB / 0.6602 GB, free: 12.7 MB / 490.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.01211/0.6779, allocations: 3.59 MB / 0.6637 GB, free: 9.043 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.678, allocations: 12.03 kB / 0.6638 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.692, allocations: 3.368 MB / 0.667 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006703/0.6988, allocations: 2.384 MB / 0.6694 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/0.6992, allocations: 312.4 kB / 0.6697 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002353/0.7016, allocations: 404.2 kB / 0.6701 GB, free: 2.516 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2934/0.995, allocations: 10.74 MB / 0.6805 GB, free: 94.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/0.9952, allocations: 49.81 kB / 0.6806 GB, free: 94.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000888/0.9961, allocations: 204.2 kB / 0.6808 GB, free: 94.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001474/0.9976, allocations: 1.14 MB / 0.6819 GB, free: 94.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/1.015, allocations: 9.394 MB / 0.6911 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0509/1.066, allocations: 46.97 MB / 0.7369 GB, free: 63.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005808/1.071, allocations: 3.477 MB / 0.7403 GB, free: 61.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/1.073, allocations: 1.274 MB / 0.7416 GB, free: 60.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009836/1.083, allocations: 5.305 MB / 0.7468 GB, free: 58.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/1.083, allocations: 48.38 kB / 0.7468 GB, free: 58.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.059e-06/1.083, allocations: 0 / 0.7468 GB, free: 58.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.006365/1.09, allocations: 3.353 MB / 0.7501 GB, free: 57.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.09, allocations: 166.3 kB / 0.7502 GB, free: 57.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/1.095, allocations: 3.921 MB / 0.7541 GB, free: 55.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/1.095, allocations: 43.94 kB / 0.7541 GB, free: 55.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/1.097, allocations: 3.338 MB / 0.7574 GB, free: 53.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/1.098, allocations: 0.6138 MB / 0.758 GB, free: 52.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/1.098, allocations: 128.5 kB / 0.7581 GB, free: 52.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002878/1.098, allocations: 0.5877 MB / 0.7587 GB, free: 52.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/1.101, allocations: 1.946 MB / 0.7606 GB, free: 51.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004055/1.105, allocations: 6.234 MB / 0.7667 GB, free: 45.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007733/1.112, allocations: 8.953 MB / 0.7754 GB, free: 37.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/1.113, allocations: 46.62 kB / 0.7754 GB, free: 37.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01421/1.127, allocations: 7.786 MB / 0.7831 GB, free: 34.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.562e-05/1.127, allocations: 73.78 kB / 0.7831 GB, free: 34.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/1.127, allocations: 148.8 kB / 0.7833 GB, free: 34.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/1.127, allocations: 200.7 kB / 0.7835 GB, free: 34.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/1.132, allocations: 1.511 MB / 0.7849 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001947/1.132, allocations: 296.7 kB / 0.7852 GB, free: 34.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.137, allocations: 0.9389 MB / 0.7861 GB, free: 33.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006711/1.137, allocations: 409.7 kB / 0.7865 GB, free: 33.45 MB / 490.7 MB 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.003497/1.141, allocations: 2.278 MB / 0.7887 GB, free: 32.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/1.141, allocations: 321.2 kB / 0.7891 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/1.142, allocations: 425.7 kB / 0.7895 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/1.142, allocations: 35.08 kB / 0.7895 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/1.142, allocations: 3.938 kB / 0.7895 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.142, allocations: 7.203 kB / 0.7895 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/1.15, allocations: 5.769 MB / 0.7951 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.15, allocations: 7.062 kB / 0.7951 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008901/1.151, allocations: 210.1 kB / 0.7953 GB, free: 29.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/1.151, allocations: 12.83 kB / 0.7954 GB, free: 29.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/1.151, allocations: 40.27 kB / 0.7954 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/1.151, allocations: 18.55 kB / 0.7954 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.151, allocations: 6.625 kB / 0.7954 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/1.154, allocations: 2.57 MB / 0.7979 GB, free: 28.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/1.155, allocations: 401.3 kB / 0.7983 GB, free: 28.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/1.155, allocations: 29.64 kB / 0.7983 GB, free: 28.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009091/1.156, allocations: 61.95 kB / 0.7984 GB, free: 28.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.156, allocations: 93.52 kB / 0.7985 GB, free: 28.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/1.156, allocations: 45.98 kB / 0.7985 GB, free: 28.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003461/1.16, allocations: 2.388 MB / 0.8009 GB, free: 27.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.16, allocations: 3.969 kB / 0.8009 GB, free: 27.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00532/1.165, allocations: 1.136 MB / 0.802 GB, free: 26.91 MB / 490.7 MB 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.0003566/1.165, allocations: 165.2 kB / 0.8021 GB, free: 26.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006335/1.172, allocations: 4.455 MB / 0.8065 GB, free: 22.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.172, allocations: 0 / 0.8065 GB, free: 22.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.173, allocations: 0.9663 MB / 0.8074 GB, free: 22.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/1.177, allocations: 351.1 kB / 0.8078 GB, free: 21.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/1.193, allocations: 10.32 MB / 0.8178 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/1.195, allocations: 3.273 MB / 0.821 GB, free: 9.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005126/1.201, allocations: 2.286 MB / 0.8233 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/1.201, allocations: 226.3 kB / 0.8235 GB, free: 7.902 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/1.201, allocations: 0 / 0.8235 GB, free: 7.902 MB / 490.7 MB Notification: Performance of Templates: time 0.04904/1.25, allocations: 24.41 MB / 0.8473 GB, free: 5.254 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/jenkins1/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