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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0024/0.0024, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 241 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008183/0.0008182, allocations: 93.45 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3012/0.3012, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003518, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3352, allocations: 61.9 MB / 0.5096 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.4684, allocations: 106.7 MB / 0.6137 GB, free: 4.406 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4687, allocations: 75.97 kB / 0.6138 GB, free: 4.332 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4513/0.92, allocations: 78.86 MB / 0.6908 GB, free: 99.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.9201, allocations: 0 / 0.6908 GB, free: 99.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000191/0.9203, allocations: 67.38 kB / 0.6909 GB, free: 99.92 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.0122/0.9325, allocations: 3.591 MB / 0.6944 GB, free: 98.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.9326, allocations: 14.97 kB / 0.6944 GB, free: 98.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.9458, allocations: 3.353 MB / 0.6977 GB, free: 97.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/0.9519, allocations: 2.303 MB / 0.6999 GB, free: 97.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.9522, allocations: 297.1 kB / 0.7002 GB, free: 97.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/0.9539, allocations: 392 kB / 0.7006 GB, free: 97.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/0.9775, allocations: 10.47 MB / 0.7108 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005507/0.9782, allocations: 48.25 kB / 0.7108 GB, free: 94.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002619/0.9808, allocations: 199.9 kB / 0.711 GB, free: 94.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/0.9832, allocations: 1.104 MB / 0.7121 GB, free: 94.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/1.004, allocations: 9.164 MB / 0.7211 GB, free: 92.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05057/1.054, allocations: 46.22 MB / 0.7662 GB, free: 58.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/1.059, allocations: 3.376 MB / 0.7695 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008204/1.068, allocations: 5.042 MB / 0.7744 GB, free: 53.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.068, allocations: 46.69 kB / 0.7745 GB, free: 53.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 4.348e-06/1.068, allocations: 3.344 kB / 0.7745 GB, free: 53.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.006045/1.074, allocations: 3.827 MB / 0.7782 GB, free: 52.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.074, allocations: 173.1 kB / 0.7784 GB, free: 51.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/1.078, allocations: 3.437 MB / 0.7817 GB, free: 50.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.918e-05/1.078, allocations: 41.39 kB / 0.7818 GB, free: 50.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.08, allocations: 3.24 MB / 0.7849 GB, free: 48.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/1.08, allocations: 0.6054 MB / 0.7855 GB, free: 47.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/1.081, allocations: 127.1 kB / 0.7856 GB, free: 47.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002845/1.081, allocations: 0.5775 MB / 0.7862 GB, free: 47.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.083, allocations: 1.912 MB / 0.7881 GB, free: 46.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/1.087, allocations: 6.062 MB / 0.794 GB, free: 40.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/1.09, allocations: 3.415 MB / 0.7973 GB, free: 37.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-05/1.091, allocations: 40 kB / 0.7974 GB, free: 37.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01063/1.101, allocations: 7.623 MB / 0.8048 GB, free: 30.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.164e-05/1.101, allocations: 68.19 kB / 0.8049 GB, free: 30.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.101, allocations: 151.9 kB / 0.805 GB, free: 30.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/1.102, allocations: 220.8 kB / 0.8052 GB, free: 30.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/1.105, allocations: 1.469 MB / 0.8067 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001493/1.105, allocations: 295.2 kB / 0.8069 GB, free: 28.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/1.11, allocations: 0.9016 MB / 0.8078 GB, free: 27.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004586/1.11, allocations: 403.3 kB / 0.8082 GB, free: 27.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (794): * Single equations (assignments): 788 * 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.003627/1.114, allocations: 2.228 MB / 0.8104 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006111/1.114, allocations: 311.9 kB / 0.8107 GB, free: 24.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/1.115, allocations: 421.3 kB / 0.8111 GB, free: 24.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/1.115, allocations: 31.19 kB / 0.8111 GB, free: 24.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/1.115, allocations: 4 kB / 0.8111 GB, free: 24.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.115, allocations: 7.594 kB / 0.8111 GB, free: 24.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007892/1.123, allocations: 5.597 MB / 0.8166 GB, free: 19.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.123, allocations: 4 kB / 0.8166 GB, free: 19.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/1.124, allocations: 211.2 kB / 0.8168 GB, free: 19.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/1.124, allocations: 8 kB / 0.8168 GB, free: 19.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/1.124, allocations: 28.66 kB / 0.8168 GB, free: 19.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.124, allocations: 15.94 kB / 0.8169 GB, free: 19.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.124, allocations: 8 kB / 0.8169 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/1.126, allocations: 3.117 MB / 0.8199 GB, free: 16.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/1.127, allocations: 388 kB / 0.8203 GB, free: 16.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/1.127, allocations: 24 kB / 0.8203 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000873/1.128, allocations: 61.7 kB / 0.8204 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.128, allocations: 87.56 kB / 0.8204 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/1.128, allocations: 40 kB / 0.8205 GB, free: 15.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002725/1.131, allocations: 2.345 MB / 0.8228 GB, free: 13.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.131, allocations: 0 / 0.8228 GB, free: 13.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004605/1.136, allocations: 1.11 MB / 0.8238 GB, free: 12.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * 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.0003579/1.136, allocations: 162.3 kB / 0.824 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005449/1.142, allocations: 4.363 MB / 0.8283 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.142, allocations: 4 kB / 0.8283 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000879/1.142, allocations: 0.9438 MB / 0.8292 GB, free: 7.953 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.144, allocations: 339.8 kB / 0.8295 GB, free: 7.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.158, allocations: 10 MB / 0.8393 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003706/1.161, allocations: 3.3 MB / 0.8425 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005332/1.167, allocations: 2.239 MB / 0.8447 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/1.167, allocations: 219.4 kB / 0.8449 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.167, allocations: 4 kB / 0.8449 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of Templates: time 0.05078/1.218, allocations: 23.9 MB / 0.8682 GB, free: 400 kB / 0.5105 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