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/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.001129/0.001129, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.001197/0.001197, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9284/0.9284, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1283/0.1283, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.015e-05, allocations: 4.281 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.008314/0.008344, allocations: 11.64 MB / 360.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.0154, allocations: 3.977 MB / 364.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.0174, allocations: 83.75 kB / 364.6 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.01972, allocations: 1.775 MB / 366.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.02297, allocations: 1.695 MB / 368.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.02442, allocations: 1.258 MB / 369.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004229/0.02865, allocations: 3.702 MB / 373 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.03125, allocations: 2.149 MB / 375.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.03385, allocations: 1.828 MB / 377 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.03636, allocations: 1.746 MB / 378.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007799/0.03714, allocations: 256 kB / 379 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.0382, allocations: 0.6981 MB / 379.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.03941, allocations: 1.765 MB / 381.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.04082, allocations: 1.027 MB / 382.5 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.04485, allocations: 4.058 MB / 386.6 MB, free: 3.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.04485, allocations: 0 / 386.6 MB, free: 3.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.04485, allocations: 0 / 386.6 MB, free: 3.352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001296/0.04498, allocations: 0 / 386.6 MB, free: 3.352 MB / 314.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.004904/0.04989, allocations: 4.605 MB / 391.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.04992, allocations: 12.03 kB / 391.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/0.05402, allocations: 1.777 MB / 392.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.05626, allocations: 1.601 MB / 394.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.05637, allocations: 201.3 kB / 394.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.05676, allocations: 256.2 kB / 395 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007301/0.06406, allocations: 5.369 MB / 400.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.06412, allocations: 27.75 kB / 400.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/0.06445, allocations: 131.8 kB / 400.5 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002027/0.06647, allocations: 2.139 MB / 402.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005843/0.07232, allocations: 2.53 MB / 405.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03865/0.111, allocations: 41.57 MB / 446.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.1142, allocations: 1.272 MB / 448 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.1149, allocations: 373.5 kB / 448.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1498/0.2647, allocations: 4.098 MB / 452.5 MB, free: 99.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2647, allocations: 54.62 kB / 452.5 MB, free: 99.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.799e-06/0.2647, allocations: 0 / 452.5 MB, free: 99.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.00385/0.2686, allocations: 1.636 MB / 454.2 MB, free: 99.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.2686, allocations: 171.3 kB / 454.3 MB, free: 99.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004205/0.2728, allocations: 3.579 MB / 457.9 MB, free: 99.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.2729, allocations: 42.14 kB / 458 MB, free: 98.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.2745, allocations: 3.671 MB / 461.6 MB, free: 96.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.2749, allocations: 0.672 MB / 462.3 MB, free: 96.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.2764, allocations: 1.503 MB / 463.8 MB, free: 96.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.2765, allocations: 0.5363 MB / 464.3 MB, free: 95.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007955/0.2773, allocations: 0.5049 MB / 464.9 MB, free: 95.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.2799, allocations: 6.938 MB / 471.8 MB, free: 87.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/0.2845, allocations: 8.319 MB / 480.1 MB, free: 78.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-05/0.2846, allocations: 42.16 kB / 480.1 MB, free: 78.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.006211/0.2908, allocations: 5.216 MB / 485.4 MB, free: 74.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.2909, allocations: 68 kB / 485.4 MB, free: 74.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.291, allocations: 156 kB / 485.6 MB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.2911, allocations: 204.4 kB / 485.8 MB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.2939, allocations: 1.462 MB / 487.2 MB, free: 73.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001608/0.2941, allocations: 298.7 kB / 487.5 MB, free: 72.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.2973, allocations: 0.8826 MB / 488.4 MB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/0.2976, allocations: 367.7 kB / 488.8 MB, free: 71.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * 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 (819): * Single equations (assignments): 811 * 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.001048/0.2986, allocations: 0.6939 MB / 489.5 MB, free: 70.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.299, allocations: 349.7 kB / 489.8 MB, free: 70.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.2993, allocations: 322.8 kB / 490.1 MB, free: 70.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/0.2993, allocations: 39.7 kB / 490.2 MB, free: 70.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.2993, allocations: 4 kB / 490.2 MB, free: 70.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.2993, allocations: 7.75 kB / 490.2 MB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.3042, allocations: 4.099 MB / 494.3 MB, free: 66.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.3042, allocations: 4 kB / 494.3 MB, free: 66.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.3048, allocations: 169.9 kB / 494.4 MB, free: 66.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.3048, allocations: 12 kB / 494.5 MB, free: 66.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.3048, allocations: 35.83 kB / 494.5 MB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.3049, allocations: 15.94 kB / 494.5 MB, free: 66.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.3049, allocations: 11.94 kB / 494.5 MB, free: 66.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3061, allocations: 1.699 MB / 496.2 MB, free: 64.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.3063, allocations: 289.5 kB / 496.5 MB, free: 64.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.3065, allocations: 27.98 kB / 496.5 MB, free: 64.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/0.3072, allocations: 26.94 kB / 496.6 MB, free: 64.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3073, allocations: 88.19 kB / 496.6 MB, free: 64.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.3074, allocations: 43.98 kB / 496.7 MB, free: 63.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.3085, allocations: 1.332 MB / 498 MB, free: 62.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3085, allocations: 0 / 498 MB, free: 62.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003908/0.3125, allocations: 1.18 MB / 499.2 MB, free: 61.46 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002834/0.3127, allocations: 150.9 kB / 499.3 MB, free: 61.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.3159, allocations: 2.667 MB / 0.4902 GB, free: 58.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3159, allocations: 0 / 0.4902 GB, free: 58.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.3162, allocations: 387.1 kB / 0.4906 GB, free: 58.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.3172, allocations: 303.8 kB / 0.4909 GB, free: 57.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/0.3241, allocations: 7.081 MB / 0.4978 GB, free: 50.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.325, allocations: 1.221 MB / 0.499 GB, free: 49.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001219/0.3262, allocations: 0.5138 MB / 0.4995 GB, free: 48.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/0.3266, allocations: 0.4904 MB / 0.5 GB, free: 48.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.853e-06/0.3266, allocations: 1.531 kB / 0.5 GB, free: 48.47 MB / 378.7 MB Notification: Performance of Templates: time 0.033/0.3597, allocations: 20.2 MB / 0.5197 GB, free: 28.39 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9565115813165903]