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.001655/0.001655, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.002042/0.002042, allocations: 164.5 kB / 24.99 MB, free: 8.746 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2669/0.2669, allocations: 34.27 MB / 296 MB, free: 0.7812 MB / 266.7 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.828e-05/4.155e-05, allocations: 6.25 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01477/0.01481, allocations: 11.46 MB / 389.5 MB, free: 7.484 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008202/0.02301, allocations: 4.019 MB / 393.5 MB, free: 3.453 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.02535, allocations: 87.69 kB / 393.6 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.02806, allocations: 1.763 MB / 395.3 MB, free: 1.598 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003855/0.03192, allocations: 1.618 MB / 397 MB, free: 15.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.03406, allocations: 1.266 MB / 398.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004649/0.03871, allocations: 3.567 MB / 401.8 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.04129, allocations: 2.07 MB / 403.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.04367, allocations: 1.711 MB / 405.6 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.04556, allocations: 1.648 MB / 407.2 MB, free: 5.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.046, allocations: 240 kB / 407.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.04709, allocations: 0.6787 MB / 408.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.04828, allocations: 1.644 MB / 409.8 MB, free: 3.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.04949, allocations: 0.9574 MB / 410.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.05356, allocations: 3.809 MB / 414.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.05356, allocations: 0 / 414.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.05356, allocations: 0 / 414.5 MB, free: 14.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001406/0.0537, allocations: 0 / 414.5 MB, free: 14.29 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.005536/0.05924, allocations: 4.406 MB / 418.9 MB, free: 9.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.05929, allocations: 8.031 kB / 419 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006366/0.06566, allocations: 3.485 MB / 422.4 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.06854, allocations: 1.679 MB / 424.1 MB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.06866, allocations: 197.1 kB / 424.3 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/0.06907, allocations: 244.2 kB / 424.5 MB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008061/0.07713, allocations: 5.569 MB / 430.1 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.07719, allocations: 27.75 kB / 430.1 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.07748, allocations: 119.8 kB / 430.3 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00222/0.0797, allocations: 2.314 MB / 432.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007973/0.08767, allocations: 2.975 MB / 435.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2025/0.2902, allocations: 41.04 MB / 476.6 MB, free: 64.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.2935, allocations: 1.321 MB / 477.9 MB, free: 63.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.2943, allocations: 417.3 kB / 478.3 MB, free: 63.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005128/0.2994, allocations: 4.061 MB / 482.4 MB, free: 61.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.2994, allocations: 49.55 kB / 482.4 MB, free: 61.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.659e-06/0.2994, allocations: 6.812 kB / 482.4 MB, free: 61.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.004193/0.3036, allocations: 1.739 MB / 484.2 MB, free: 60.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.3037, allocations: 175.5 kB / 484.3 MB, free: 60.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.3072, allocations: 3.473 MB / 487.8 MB, free: 59.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.3073, allocations: 40.61 kB / 487.9 MB, free: 59.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.3087, allocations: 3.489 MB / 491.3 MB, free: 56.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.3091, allocations: 0.6554 MB / 492 MB, free: 56.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.3104, allocations: 1.418 MB / 493.4 MB, free: 55.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.3105, allocations: 0.5358 MB / 494 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.3116, allocations: 0.6196 MB / 494.6 MB, free: 54.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.3149, allocations: 6.8 MB / 0.4896 GB, free: 46.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005604/0.3205, allocations: 8.189 MB / 0.4976 GB, free: 36.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.426e-05/0.3206, allocations: 42.97 kB / 0.4977 GB, free: 36.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.008485/0.329, allocations: 5.397 MB / 0.5029 GB, free: 34.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.3291, allocations: 68.75 kB / 0.503 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/0.3293, allocations: 147.1 kB / 0.5031 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.3295, allocations: 193.9 kB / 0.5033 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.3329, allocations: 1.452 MB / 0.5047 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002149/0.3331, allocations: 286.6 kB / 0.505 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/0.3365, allocations: 0.914 MB / 0.5059 GB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005193/0.3371, allocations: 396.1 kB / 0.5063 GB, free: 33.92 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.001381/0.3384, allocations: 0.6787 MB / 0.5069 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.3388, allocations: 332.3 kB / 0.5073 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.3392, allocations: 322.6 kB / 0.5076 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/0.3392, allocations: 37.67 kB / 0.5076 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.3392, allocations: 1.375 kB / 0.5076 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3392, allocations: 8.75 kB / 0.5076 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/0.3451, allocations: 4.038 MB / 0.5116 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3451, allocations: 8.094 kB / 0.5116 GB, free: 31.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.3457, allocations: 206.1 kB / 0.5118 GB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.3457, allocations: 11.84 kB / 0.5118 GB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.3458, allocations: 27.38 kB / 0.5118 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.3458, allocations: 11.88 kB / 0.5118 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3458, allocations: 7.906 kB / 0.5118 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.3473, allocations: 1.725 MB / 0.5135 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.3477, allocations: 285.3 kB / 0.5138 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.3479, allocations: 24.12 kB / 0.5138 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.3486, allocations: 72.02 kB / 0.5139 GB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.3487, allocations: 79.02 kB / 0.5139 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.3488, allocations: 47.44 kB / 0.514 GB, free: 29.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001459/0.3503, allocations: 1.383 MB / 0.5153 GB, free: 29.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3503, allocations: 0 / 0.5153 GB, free: 29.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003226/0.3535, allocations: 1.109 MB / 0.5164 GB, free: 28.72 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.0002922/0.3538, allocations: 148.4 kB / 0.5166 GB, free: 28.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.3575, allocations: 2.751 MB / 0.5193 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3575, allocations: 5.875 kB / 0.5193 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.358, allocations: 403.8 kB / 0.5196 GB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.3593, allocations: 299 kB / 0.5199 GB, free: 27.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/0.3673, allocations: 6.783 MB / 0.5266 GB, free: 20.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009674/0.3682, allocations: 1.172 MB / 0.5277 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003301/0.3715, allocations: 1.891 MB / 0.5295 GB, free: 18.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.3719, allocations: 214 kB / 0.5297 GB, free: 18.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3719, allocations: 0 / 0.5297 GB, free: 18.59 MB / 410.7 MB Notification: Performance of Templates: time 0.03101/0.4029, allocations: 16.84 MB / 0.5462 GB, free: 5.316 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.093565515009686]