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/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.001097/0.001097, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.000952/0.000952, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9648/0.9648, allocations: 177.2 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2677/0.2677, allocations: 32.81 MB / 294.3 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] 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 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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.445e-05, allocations: 6.25 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01063/0.01065, allocations: 11.52 MB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.01798, allocations: 4.022 MB / 391.6 MB, free: 5.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.01938, allocations: 83.75 kB / 391.6 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.02183, allocations: 1.779 MB / 393.4 MB, free: 3.172 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.02426, allocations: 1.614 MB / 395 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.02556, allocations: 1.274 MB / 396.3 MB, free: 280 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.02861, allocations: 3.567 MB / 399.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.03081, allocations: 2.067 MB / 401.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.03257, allocations: 1.719 MB / 403.7 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.03424, allocations: 1.652 MB / 405.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003989/0.03464, allocations: 236 kB / 405.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.03567, allocations: 0.6709 MB / 406.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.03712, allocations: 1.648 MB / 407.9 MB, free: 4.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.03818, allocations: 0.9612 MB / 408.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.04152, allocations: 3.809 MB / 412.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.04153, allocations: 4 kB / 412.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04153, allocations: 0 / 412.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.04165, allocations: 0 / 412.6 MB, free: 15.85 MB / 394.7 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.0047/0.04635, allocations: 4.398 MB / 417 MB, free: 11.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.04639, allocations: 12.03 kB / 417 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.05199, allocations: 3.489 MB / 420.5 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.05447, allocations: 1.726 MB / 422.3 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.05457, allocations: 189.1 kB / 422.4 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.0549, allocations: 252.2 kB / 422.7 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00568/0.06058, allocations: 5.561 MB / 428.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003133/0.06089, allocations: 31.69 kB / 428.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.06115, allocations: 127.8 kB / 428.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002034/0.06318, allocations: 2.314 MB / 430.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/0.06892, allocations: 2.967 MB / 433.7 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2/0.2689, allocations: 41.04 MB / 474.7 MB, free: 47.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.2713, allocations: 1.325 MB / 476 MB, free: 47.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.2718, allocations: 422.3 kB / 476.5 MB, free: 47.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003786/0.2756, allocations: 4.072 MB / 480.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2756, allocations: 52.38 kB / 480.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 2.965e-06/0.2756, allocations: 0 / 480.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.002841/0.2785, allocations: 1.748 MB / 482.3 MB, free: 45.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2785, allocations: 169.6 kB / 482.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.2811, allocations: 3.474 MB / 486 MB, free: 44.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.2812, allocations: 40.95 kB / 486 MB, free: 44.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.2823, allocations: 3.486 MB / 489.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.2826, allocations: 0.6541 MB / 490.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009579/0.2836, allocations: 1.423 MB / 491.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.2836, allocations: 0.5315 MB / 492.1 MB, free: 39.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/0.2845, allocations: 0.6161 MB / 492.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.287, allocations: 6.8 MB / 499.5 MB, free: 31.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/0.2916, allocations: 8.183 MB / 0.4958 GB, free: 22.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.577e-05/0.2916, allocations: 42.62 kB / 0.4958 GB, free: 22.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.007085/0.2987, allocations: 5.4 MB / 0.5011 GB, free: 21.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/0.2988, allocations: 69.55 kB / 0.5012 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.299, allocations: 149.3 kB / 0.5013 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.2992, allocations: 193.2 kB / 0.5015 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.3018, allocations: 1.461 MB / 0.5029 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000203/0.302, allocations: 289.7 kB / 0.5032 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.3044, allocations: 0.899 MB / 0.5041 GB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004452/0.3049, allocations: 400.5 kB / 0.5045 GB, free: 20.28 MB / 410.7 MB 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.001229/0.3061, allocations: 0.6742 MB / 0.5051 GB, free: 19.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.3064, allocations: 328.9 kB / 0.5054 GB, free: 19.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.3067, allocations: 325.4 kB / 0.5058 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.3067, allocations: 43.69 kB / 0.5058 GB, free: 19.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.3068, allocations: 1.594 kB / 0.5058 GB, free: 19.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.3068, allocations: 7.656 kB / 0.5058 GB, free: 19.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.3111, allocations: 4.034 MB / 0.5097 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3111, allocations: 3.375 kB / 0.5097 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.3116, allocations: 205.7 kB / 0.5099 GB, free: 17.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.3116, allocations: 13.78 kB / 0.51 GB, free: 17.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.3116, allocations: 27.31 kB / 0.51 GB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.3117, allocations: 19.7 kB / 0.51 GB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3117, allocations: 6.156 kB / 0.51 GB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.3128, allocations: 1.729 MB / 0.5117 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.3129, allocations: 281.4 kB / 0.512 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.3131, allocations: 24.41 kB / 0.512 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.3136, allocations: 64.16 kB / 0.512 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3137, allocations: 88.16 kB / 0.5121 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.3137, allocations: 38.78 kB / 0.5122 GB, free: 15.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.3148, allocations: 1.38 MB / 0.5135 GB, free: 15.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3148, allocations: 0 / 0.5135 GB, free: 15.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002605/0.3174, allocations: 1.111 MB / 0.5146 GB, free: 15.1 MB / 410.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 (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.0002613/0.3177, allocations: 157 kB / 0.5147 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.3206, allocations: 2.743 MB / 0.5174 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3206, allocations: 0 / 0.5174 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.321, allocations: 416 kB / 0.5178 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.322, allocations: 300.9 kB / 0.5181 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.3279, allocations: 6.79 MB / 0.5247 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.3287, allocations: 1.171 MB / 0.5259 GB, free: 9.949 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002821/0.3315, allocations: 1.894 MB / 0.5277 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.3318, allocations: 209.1 kB / 0.5279 GB, free: 9.062 MB / 410.7 MB Notification: Performance of SimCode: time 2.545e-06/0.3318, allocations: 0 / 0.5279 GB, free: 9.062 MB / 410.7 MB Notification: Performance of Templates: time 0.02956/0.3614, allocations: 17.58 MB / 0.5451 GB, free: 12.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.102652606088668]