Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000715/0.000715, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001743, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006905/0.0006905, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.001626, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.017/1.017, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09927/1.117, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2619/0.2619, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02707/0.2889, allocations: 13.23 MB / 292.8 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.296e-05, allocations: 3.438 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.008377/0.00839, allocations: 11.33 MB / 305.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006285/0.01467, allocations: 4.208 MB / 309.6 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.01575, allocations: 87.69 kB / 309.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.01754, allocations: 1.72 MB / 311.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.0196, allocations: 1.618 MB / 313 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.02074, allocations: 1.18 MB / 314.2 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002722/0.02346, allocations: 3.397 MB / 317.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.02511, allocations: 2.001 MB / 319.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.02671, allocations: 1.764 MB / 321.4 MB, free: 9.645 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.02787, allocations: 1.543 MB / 322.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.02809, allocations: 243.9 kB / 323.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.02891, allocations: 0.6982 MB / 323.9 MB, free: 7.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007674/0.02967, allocations: 1.492 MB / 325.4 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005607/0.03024, allocations: 0.794 MB / 326.2 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.03252, allocations: 3.61 MB / 329.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.03253, allocations: 0 / 329.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03253, allocations: 3.938 kB / 329.8 MB, free: 1.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.03256, allocations: 0 / 329.8 MB, free: 1.238 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.003085/0.03564, allocations: 4.542 MB / 334.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.03568, allocations: 8.922 kB / 334.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.0387, allocations: 1.315 MB / 335.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.04004, allocations: 1.395 MB / 337 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.754e-05/0.04014, allocations: 193.1 kB / 337.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.04042, allocations: 244.2 kB / 337.5 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004125/0.04455, allocations: 4.67 MB / 342.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.0446, allocations: 35.69 kB / 342.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.04482, allocations: 127.8 kB / 342.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001606/0.04643, allocations: 1.912 MB / 344.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.04935, allocations: 2.484 MB / 346.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.06605, allocations: 29.31 MB / 376 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.06785, allocations: 1.23 MB / 377.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.06816, allocations: 288.6 kB / 377.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003278/0.07144, allocations: 3.449 MB / 381 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.07148, allocations: 51.16 kB / 381 MB, free: 11.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 3.326e-06/0.07148, allocations: 0 / 381 MB, free: 11.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.002268/0.07375, allocations: 1.376 MB / 382.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.0738, allocations: 178.8 kB / 382.6 MB, free: 10.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.0754, allocations: 2.71 MB / 385.3 MB, free: 7.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.07545, allocations: 45.69 kB / 385.3 MB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.07656, allocations: 3.224 MB / 388.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.07684, allocations: 0.6164 MB / 389.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008477/0.07769, allocations: 1.223 MB / 390.4 MB, free: 2.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.07778, allocations: 357.8 kB / 390.7 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/0.07844, allocations: 0.6777 MB / 391.4 MB, free: 1.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.08071, allocations: 4.707 MB / 396.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.08478, allocations: 6.635 MB / 402.7 MB, free: 1.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.641e-05/0.08481, allocations: 44 kB / 402.8 MB, free: 1.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.003656/0.08847, allocations: 4.313 MB / 407.1 MB, free: 13.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.08852, allocations: 68 kB / 407.2 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.859e-05/0.08861, allocations: 156 kB / 407.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.08871, allocations: 196.8 kB / 407.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.09097, allocations: 1.595 MB / 409.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/0.0911, allocations: 294.8 kB / 409.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.09291, allocations: 0.8646 MB / 410.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.09318, allocations: 352.3 kB / 410.6 MB, free: 10.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * 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 (801): * Single equations (assignments): 795 * 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 prepare postOptimizeDAE: time 0.0008032/0.09398, allocations: 0.6324 MB / 411.2 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.09417, allocations: 179.7 kB / 411.4 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.09445, allocations: 320.4 kB / 411.7 MB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.09448, allocations: 35.98 kB / 411.8 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.0945, allocations: 11.94 kB / 411.8 MB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.0945, allocations: 7.969 kB / 411.8 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.09718, allocations: 2.813 MB / 414.6 MB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.0972, allocations: 15.98 kB / 414.6 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.09763, allocations: 187.8 kB / 414.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.0978, allocations: 277.6 kB / 415.1 MB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.09781, allocations: 8 kB / 415.1 MB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.09785, allocations: 24 kB / 415.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.09786, allocations: 11.98 kB / 415.1 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.09787, allocations: 15.88 kB / 415.1 MB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.09864, allocations: 1.222 MB / 416.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.09877, allocations: 27.98 kB / 416.4 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.09914, allocations: 20 kB / 416.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.09924, allocations: 92.17 kB / 416.5 MB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.09929, allocations: 32 kB / 416.5 MB, free: 3.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008077/0.1001, allocations: 1.022 MB / 417.5 MB, free: 2.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1001, allocations: 0 / 417.5 MB, free: 2.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002252/0.1023, allocations: 1.114 MB / 418.6 MB, free: 1.793 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.0002447/0.1026, allocations: 136.1 kB / 418.8 MB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.1046, allocations: 2.61 MB / 421.4 MB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001541/0.1047, allocations: 110.8 kB / 421.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.1051, allocations: 398 kB / 421.9 MB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.1065, allocations: 1.597 MB / 423.5 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00692/0.1134, allocations: 7.046 MB / 430.5 MB, free: 5.637 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.1144, allocations: 1.143 MB / 431.7 MB, free: 4.469 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009645/0.1153, allocations: 490 kB / 432.1 MB, free: 3.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/0.1157, allocations: 439.2 kB / 432.6 MB, free: 3.559 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1157, allocations: 0 / 432.6 MB, free: 3.559 MB / 426.7 MB Notification: Performance of Templates: time 0.1637/0.2794, allocations: 16.81 MB / 449.4 MB, free: 105.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.206454330123961]