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.001076/0.001076, 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.00107/0.00107, 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.9418/0.9418, allocations: 177.1 MB / 205 MB, free: 5.633 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.2676/0.2676, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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 2.325e-06/2.325e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.198e-05, allocations: 5.828 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0245/0.02453, allocations: 11.51 MB / 389.5 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.0355, allocations: 4.031 MB / 393.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.03727, allocations: 91.69 kB / 393.7 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.03947, allocations: 1.771 MB / 395.4 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.04262, allocations: 1.606 MB / 397 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.04432, allocations: 1.278 MB / 398.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003877/0.0482, allocations: 3.571 MB / 401.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.05068, allocations: 2.055 MB / 403.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.05303, allocations: 1.73 MB / 405.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.05512, allocations: 1.64 MB / 407.3 MB, free: 5.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007748/0.0559, allocations: 239.9 kB / 407.5 MB, free: 5.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.05713, allocations: 0.6826 MB / 408.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.05838, allocations: 1.644 MB / 409.9 MB, free: 2.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.05983, allocations: 0.9496 MB / 410.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.06407, allocations: 3.813 MB / 414.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.06407, allocations: 0 / 414.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.06408, allocations: 0 / 414.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.06425, allocations: 0 / 414.6 MB, free: 13.89 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.005849/0.0701, allocations: 4.406 MB / 419 MB, free: 9.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.07014, allocations: 8.031 kB / 419 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/0.07579, allocations: 3.489 MB / 422.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.07815, allocations: 1.73 MB / 424.3 MB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.07824, allocations: 189.1 kB / 424.4 MB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.07855, allocations: 252.2 kB / 424.7 MB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006934/0.08548, allocations: 5.562 MB / 430.3 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.08554, allocations: 31.69 kB / 430.3 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.08579, allocations: 123.8 kB / 430.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002129/0.08792, allocations: 2.314 MB / 432.7 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006418/0.09434, allocations: 2.975 MB / 435.7 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2023/0.2966, allocations: 41.04 MB / 476.7 MB, free: 58.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.299, allocations: 1.32 MB / 478.1 MB, free: 58.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.2995, allocations: 427.5 kB / 478.5 MB, free: 58.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00393/0.3034, allocations: 4.061 MB / 482.5 MB, free: 56.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3034, allocations: 52.23 kB / 482.6 MB, free: 56.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.026e-06/0.3034, allocations: 3.562 kB / 482.6 MB, free: 56.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.003004/0.3064, allocations: 1.749 MB / 484.3 MB, free: 55.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3065, allocations: 168.1 kB / 484.5 MB, free: 55.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/0.3095, allocations: 3.471 MB / 488 MB, free: 54.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.3096, allocations: 44.39 kB / 488 MB, free: 54.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.3108, allocations: 3.479 MB / 491.5 MB, free: 51.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.3112, allocations: 0.6567 MB / 492.2 MB, free: 51.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.3122, allocations: 1.425 MB / 493.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.3122, allocations: 0.5286 MB / 494.1 MB, free: 49.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/0.3132, allocations: 0.6162 MB / 494.7 MB, free: 49.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.3157, allocations: 6.801 MB / 0.4898 GB, free: 41.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/0.3203, allocations: 8.191 MB / 0.4978 GB, free: 32.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.926e-05/0.3203, allocations: 43.91 kB / 0.4978 GB, free: 32.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.006238/0.3266, allocations: 5.396 MB / 0.5031 GB, free: 30.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/0.3267, allocations: 75.31 kB / 0.5032 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/0.3268, allocations: 147.8 kB / 0.5033 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.327, allocations: 192.9 kB / 0.5035 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.3297, allocations: 1.461 MB / 0.5049 GB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002168/0.3299, allocations: 286.5 kB / 0.5052 GB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.3322, allocations: 0.9037 MB / 0.5061 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/0.3326, allocations: 396.5 kB / 0.5064 GB, free: 29.37 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.001128/0.3338, allocations: 0.6777 MB / 0.5071 GB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.3341, allocations: 331 kB / 0.5074 GB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.3343, allocations: 317.9 kB / 0.5077 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/0.3344, allocations: 39 kB / 0.5078 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.3344, allocations: 1.375 kB / 0.5078 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3344, allocations: 4.609 kB / 0.5078 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.3391, allocations: 4.034 MB / 0.5117 GB, free: 26.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.3391, allocations: 6.094 kB / 0.5117 GB, free: 26.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.3396, allocations: 214.9 kB / 0.5119 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.3396, allocations: 7.875 kB / 0.5119 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.3396, allocations: 27.88 kB / 0.5119 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.3397, allocations: 15.81 kB / 0.512 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3397, allocations: 7.906 kB / 0.512 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.3408, allocations: 1.725 MB / 0.5137 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.341, allocations: 285.3 kB / 0.5139 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.3412, allocations: 23.94 kB / 0.5139 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.3416, allocations: 74.14 kB / 0.514 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3417, allocations: 89.06 kB / 0.5141 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.3418, allocations: 43.12 kB / 0.5141 GB, free: 24.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.343, allocations: 1.377 MB / 0.5155 GB, free: 24.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.343, allocations: 3.125 kB / 0.5155 GB, free: 24.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002523/0.3456, allocations: 1.1 MB / 0.5166 GB, free: 24.18 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.0002792/0.3458, allocations: 159.1 kB / 0.5167 GB, free: 24.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.3486, allocations: 2.743 MB / 0.5194 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3486, allocations: 128 / 0.5194 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.349, allocations: 409.3 kB / 0.5198 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.35, allocations: 297.9 kB / 0.5201 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.3573, allocations: 6.796 MB / 0.5267 GB, free: 17.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.3584, allocations: 1.168 MB / 0.5278 GB, free: 16.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003465/0.3619, allocations: 1.889 MB / 0.5297 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.3625, allocations: 209.8 kB / 0.5299 GB, free: 15.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3625, allocations: 4 kB / 0.5299 GB, free: 15.26 MB / 410.7 MB Notification: Performance of Templates: time 0.03439/0.3969, allocations: 17.58 MB / 0.5471 GB, free: 1.918 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: 3.762020718306303]