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.0013/0.0013, allocations: 81.97 kB / 21.42 MB, free: 3.07 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.001343/0.001343, allocations: 169.7 kB / 24.82 MB, free: 9.211 MB / 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 1.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.2822/0.2822, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.695e-06/2.695e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.484e-05, allocations: 5.266 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009806/0.009831, allocations: 11.19 MB / 387.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006781/0.01661, allocations: 3.987 MB / 391.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.01775, allocations: 87.69 kB / 391.7 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.01988, allocations: 1.763 MB / 393.5 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.02213, allocations: 1.61 MB / 395.1 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.02336, allocations: 1.254 MB / 396.3 MB, free: 448 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.02636, allocations: 3.574 MB / 399.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.02788, allocations: 2.059 MB / 402 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.02924, allocations: 1.73 MB / 403.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.03078, allocations: 1.644 MB / 405.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.03105, allocations: 236 kB / 405.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008316/0.03188, allocations: 0.6864 MB / 406.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009307/0.03281, allocations: 1.644 MB / 407.9 MB, free: 4.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007422/0.03355, allocations: 0.9535 MB / 408.9 MB, free: 3.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.03665, allocations: 3.809 MB / 412.7 MB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.03665, allocations: 0 / 412.7 MB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.03666, allocations: 0 / 412.7 MB, free: 8 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.537e-05/0.03671, allocations: 0 / 412.7 MB, free: 8 kB / 378.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.004118/0.04083, allocations: 4.381 MB / 417.1 MB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.04088, allocations: 8.031 kB / 417.1 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/0.04475, allocations: 1.707 MB / 418.8 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.04672, allocations: 1.554 MB / 420.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.04683, allocations: 193.1 kB / 420.5 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/0.04714, allocations: 244.2 kB / 420.8 MB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005268/0.05241, allocations: 5.166 MB / 425.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.05246, allocations: 35.75 kB / 426 MB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.05271, allocations: 127.8 kB / 426.1 MB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/0.05447, allocations: 2.021 MB / 428.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.05801, allocations: 2.429 MB / 430.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2502/0.3082, allocations: 40.5 MB / 471 MB, free: 63.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.311, allocations: 1.211 MB / 472.2 MB, free: 63.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.3115, allocations: 356.7 kB / 472.6 MB, free: 63.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004841/0.3163, allocations: 3.917 MB / 476.5 MB, free: 61.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3164, allocations: 58.09 kB / 476.6 MB, free: 61.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.898e-06/0.3164, allocations: 0 / 476.6 MB, free: 61.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.002742/0.3191, allocations: 1.62 MB / 478.2 MB, free: 61.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3192, allocations: 169.7 kB / 478.4 MB, free: 61.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.3223, allocations: 3.485 MB / 481.8 MB, free: 59.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.3224, allocations: 40.89 kB / 481.9 MB, free: 59.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.3241, allocations: 3.517 MB / 485.4 MB, free: 57.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.3245, allocations: 0.6577 MB / 486.1 MB, free: 56.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.3255, allocations: 1.451 MB / 487.5 MB, free: 55.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.3256, allocations: 0.5323 MB / 488 MB, free: 55.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.3263, allocations: 493.8 kB / 488.5 MB, free: 55.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.3295, allocations: 6.699 MB / 495.2 MB, free: 46.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/0.3346, allocations: 8.04 MB / 0.4915 GB, free: 37.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.3347, allocations: 42.03 kB / 0.4915 GB, free: 37.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.006584/0.3412, allocations: 5.037 MB / 0.4964 GB, free: 35.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.625e-05/0.3413, allocations: 70.72 kB / 0.4965 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002357/0.3416, allocations: 150.3 kB / 0.4966 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.3418, allocations: 193.5 kB / 0.4968 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/0.3447, allocations: 1.413 MB / 0.4982 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002595/0.3449, allocations: 289.3 kB / 0.4985 GB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.3482, allocations: 0.8546 MB / 0.4993 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006865/0.3489, allocations: 349.5 kB / 0.4996 GB, free: 35.04 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.002098/0.351, allocations: 0.6857 MB / 0.5003 GB, free: 34.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/0.3517, allocations: 329.8 kB / 0.5006 GB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.3521, allocations: 316.1 kB / 0.5009 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/0.3521, allocations: 37.81 kB / 0.501 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/0.3521, allocations: 1.469 kB / 0.501 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3522, allocations: 9.281 kB / 0.501 GB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005963/0.3581, allocations: 3.915 MB / 0.5048 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.3581, allocations: 10.88 kB / 0.5048 GB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.3586, allocations: 166 kB / 0.505 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.3586, allocations: 10.62 kB / 0.505 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.3587, allocations: 33.44 kB / 0.505 GB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/0.3587, allocations: 15.98 kB / 0.505 GB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.3587, allocations: 12.75 kB / 0.505 GB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3601, allocations: 1.652 MB / 0.5067 GB, free: 30.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.3606, allocations: 284.6 kB / 0.5069 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.3607, allocations: 28.5 kB / 0.5069 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.3612, allocations: 20.16 kB / 0.507 GB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3613, allocations: 81.31 kB / 0.507 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.3613, allocations: 41.89 kB / 0.5071 GB, free: 30.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00125/0.3626, allocations: 1.293 MB / 0.5083 GB, free: 30.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3626, allocations: 1 kB / 0.5084 GB, free: 30.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004032/0.3666, allocations: 1.103 MB / 0.5094 GB, free: 29.8 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.0003204/0.3669, allocations: 161.5 kB / 0.5096 GB, free: 29.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.371, allocations: 2.592 MB / 0.5121 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.098e-06/0.371, allocations: 3.969 kB / 0.5121 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.3715, allocations: 366.9 kB / 0.5125 GB, free: 28.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.3728, allocations: 290.6 kB / 0.5127 GB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009288/0.3821, allocations: 6.764 MB / 0.5193 GB, free: 24.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009598/0.3831, allocations: 1.168 MB / 0.5205 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001376/0.3845, allocations: 0.495 MB / 0.521 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.385, allocations: 487.4 kB / 0.5214 GB, free: 22.52 MB / 410.7 MB Notification: Performance of SimCode: time 3.116e-06/0.385, allocations: 0 / 0.5214 GB, free: 22.52 MB / 410.7 MB Notification: Performance of Templates: time 0.03585/0.4208, allocations: 19.42 MB / 0.5404 GB, free: 7.48 MB / 410.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.19344811886549]