Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01381/0.3324, allocations: 10.39 MB / 0.572 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008252/0.3407, allocations: 3.906 MB / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.3419, allocations: 87.69 kB / 0.5759 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.3452, allocations: 1.635 MB / 0.5775 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.3488, allocations: 1.572 MB / 0.579 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.3511, allocations: 1.145 MB / 0.5801 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00435/0.3555, allocations: 3.51 MB / 0.5835 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.3578, allocations: 1.984 MB / 0.5855 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.3594, allocations: 1.168 MB / 0.5866 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.3616, allocations: 1.736 MB / 0.5883 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004485/0.362, allocations: 236 kB / 0.5885 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.3632, allocations: 0.6319 MB / 0.5892 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.3647, allocations: 1.585 MB / 0.5907 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.3661, allocations: 1.303 MB / 0.592 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00651/0.3726, allocations: 6.183 MB / 0.598 GB, free: 14.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3726, allocations: 0 / 0.598 GB, free: 14.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3726, allocations: 0 / 0.598 GB, free: 14.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.893e-05/0.3727, allocations: 0 / 0.598 GB, free: 14.91 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.006311/0.379, allocations: 4.015 MB / 0.6019 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.379, allocations: 8.031 kB / 0.6019 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/0.3889, allocations: 2.997 MB / 0.6049 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/0.3931, allocations: 1.775 MB / 0.6066 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3933, allocations: 193.1 kB / 0.6068 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005319/0.3938, allocations: 243.8 kB / 0.607 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.4085, allocations: 10.04 MB / 0.6168 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.22e-05/0.4086, allocations: 31.69 kB / 0.6169 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003836/0.4089, allocations: 127.8 kB / 0.617 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00371/0.4127, allocations: 2.31 MB / 0.6192 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.428, allocations: 8.917 MB / 0.6279 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04752/0.4756, allocations: 35.04 MB / 0.6622 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005393/0.4809, allocations: 2.35 MB / 0.6645 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.4826, allocations: 1.13 MB / 0.6656 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009352/0.492, allocations: 4.473 MB / 0.6699 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.492, allocations: 47.16 kB / 0.67 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.709e-06/0.492, allocations: 0 / 0.67 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007051/0.4991, allocations: 3.317 MB / 0.6732 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.4992, allocations: 170.8 kB / 0.6734 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005136/0.5043, allocations: 3.748 MB / 0.677 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.5045, allocations: 45.7 kB / 0.6771 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.5071, allocations: 3.344 MB / 0.6803 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000771/0.5079, allocations: 0.636 MB / 0.681 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/0.5097, allocations: 1.302 MB / 0.6822 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.5099, allocations: 353.9 kB / 0.6826 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003025/0.5129, allocations: 1.957 MB / 0.6845 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006541/0.5194, allocations: 6.104 MB / 0.6904 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.5302, allocations: 8.785 MB / 0.699 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/0.5303, allocations: 43.94 kB / 0.6991 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0135/0.5438, allocations: 7.702 MB / 0.7066 GB, free: 9.457 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/0.5439, allocations: 72.25 kB / 0.7067 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/0.5441, allocations: 148 kB / 0.7068 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.5443, allocations: 196.4 kB / 0.707 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/0.5487, allocations: 1.454 MB / 0.7084 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002416/0.549, allocations: 290.9 kB / 0.7087 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/0.5531, allocations: 0.8996 MB / 0.7096 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006003/0.5537, allocations: 403.9 kB / 0.7099 GB, free: 6.016 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.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 (791): * Single equations (assignments): 783 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003322/0.557, allocations: 2.199 MB / 0.7121 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.5575, allocations: 298 kB / 0.7124 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.5581, allocations: 384.3 kB / 0.7127 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5581, allocations: 3.984 kB / 0.7127 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5581, allocations: 4 kB / 0.7127 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.5587, allocations: 269.7 kB / 0.713 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/0.5589, allocations: 19.98 kB / 0.713 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.5598, allocations: 63.91 kB / 0.7131 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.56, allocations: 60.48 kB / 0.7131 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003188/0.5632, allocations: 2.268 MB / 0.7154 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002953/0.5661, allocations: 2.496 MB / 0.7178 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001083/0.5672, allocations: 0.7901 MB / 0.7186 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003192/0.5704, allocations: 2.091 MB / 0.7206 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of Backend: time 2.71e-07/0.5704, allocations: 3.938 kB / 0.7206 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007433/0.5778, allocations: 3.59 MB / 0.7241 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of SimCode: time 0.2865/0.8644, allocations: 8.279 MB / 0.7322 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06016/0.9245, allocations: 35.47 MB / 0.7668 GB, free: 128.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.595896825994714]