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.002139/0.002139, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 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.001951/0.001951, allocations: 164.8 kB / 24.27 MB, free: 148 kB / 18.57 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.569/1.569, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3602/0.3602, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.332e-06, allocations: 4 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/3.405e-05, allocations: 2.312 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01651/0.01655, allocations: 11.42 MB / 388.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009604/0.02615, allocations: 4.019 MB / 392.6 MB, free: 3.418 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.02796, allocations: 87.69 kB / 392.7 MB, free: 3.332 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003961/0.03192, allocations: 1.771 MB / 394.5 MB, free: 1.555 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.03631, allocations: 1.606 MB / 396.1 MB, free: 15.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.03905, allocations: 1.27 MB / 397.4 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006028/0.04508, allocations: 3.574 MB / 400.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003314/0.0484, allocations: 2.055 MB / 403 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.05115, allocations: 1.719 MB / 404.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.05393, allocations: 1.648 MB / 406.4 MB, free: 5.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005158/0.05444, allocations: 236 kB / 406.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.05593, allocations: 0.6787 MB / 407.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.05776, allocations: 1.651 MB / 408.9 MB, free: 3.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.05926, allocations: 0.9534 MB / 409.9 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007927/0.06719, allocations: 6.034 MB / 415.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.06719, allocations: 0 / 415.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.06719, allocations: 0 / 415.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.06736, allocations: 0 / 415.9 MB, free: 12.02 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.009288/0.07665, allocations: 4.843 MB / 420.8 MB, free: 7.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.07671, allocations: 16.03 kB / 420.8 MB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.08897, allocations: 3.485 MB / 424.3 MB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005138/0.09411, allocations: 1.671 MB / 425.9 MB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.09432, allocations: 197.1 kB / 426.1 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007479/0.09507, allocations: 252.2 kB / 426.4 MB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.1077, allocations: 5.995 MB / 432.4 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.607e-05/0.1078, allocations: 31.69 kB / 432.4 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.1082, allocations: 127.8 kB / 432.5 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004208/0.1124, allocations: 2.314 MB / 434.8 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.123, allocations: 3.42 MB / 438.2 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1839/0.3069, allocations: 45.98 MB / 484.2 MB, free: 58.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/0.3108, allocations: 1.369 MB / 485.6 MB, free: 58.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009095/0.3117, allocations: 447.9 kB / 486 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007725/0.3195, allocations: 4.274 MB / 490.3 MB, free: 55.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3195, allocations: 52.39 kB / 490.4 MB, free: 55.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.608e-06/0.3195, allocations: 3.312 kB / 490.4 MB, free: 55.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.004905/0.3244, allocations: 1.763 MB / 492.1 MB, free: 54.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3244, allocations: 167.4 kB / 492.3 MB, free: 54.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.3295, allocations: 4.423 MB / 496.7 MB, free: 52.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.3297, allocations: 40.64 kB / 496.8 MB, free: 52.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.332, allocations: 3.688 MB / 0.4887 GB, free: 50.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007089/0.3327, allocations: 0.6868 MB / 0.4894 GB, free: 49.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/0.3348, allocations: 1.657 MB / 0.491 GB, free: 48.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3349, allocations: 0.5533 MB / 0.4915 GB, free: 48.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.3365, allocations: 0.665 MB / 0.4922 GB, free: 48.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/0.3408, allocations: 7.058 MB / 0.4991 GB, free: 39.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009879/0.3507, allocations: 8.487 MB / 0.5074 GB, free: 30.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004504/0.3511, allocations: 42.62 kB / 0.5074 GB, free: 30.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01108/0.3622, allocations: 5.502 MB / 0.5128 GB, free: 27.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3623, allocations: 66.97 kB / 0.5128 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002322/0.3625, allocations: 147 kB / 0.513 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.3627, allocations: 192.1 kB / 0.5132 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/0.3666, allocations: 1.46 MB / 0.5146 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001574/0.3668, allocations: 288.9 kB / 0.5149 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/0.3709, allocations: 0.9001 MB / 0.5158 GB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008367/0.3717, allocations: 400.5 kB / 0.5161 GB, free: 27.05 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.002329/0.3741, allocations: 0.7849 MB / 0.5169 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/0.3747, allocations: 328.5 kB / 0.5172 GB, free: 26.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/0.3754, allocations: 317.5 kB / 0.5175 GB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/0.3754, allocations: 37.78 kB / 0.5176 GB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.3754, allocations: 4 kB / 0.5176 GB, free: 26.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3754, allocations: 13.67 kB / 0.5176 GB, free: 26.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/0.3839, allocations: 4.919 MB / 0.5224 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.3839, allocations: 11.94 kB / 0.5224 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/0.3848, allocations: 205.5 kB / 0.5226 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.3848, allocations: 12 kB / 0.5226 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.353e-05/0.3849, allocations: 24 kB / 0.5226 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.3849, allocations: 19.86 kB / 0.5226 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3849, allocations: 7.938 kB / 0.5226 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.3868, allocations: 1.773 MB / 0.5244 GB, free: 19.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/0.3874, allocations: 292 kB / 0.5247 GB, free: 19.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/0.3879, allocations: 24 kB / 0.5247 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.3889, allocations: 62.64 kB / 0.5247 GB, free: 19.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.3891, allocations: 82.73 kB / 0.5248 GB, free: 19.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/0.3892, allocations: 53.91 kB / 0.5249 GB, free: 19.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002446/0.3916, allocations: 1.657 MB / 0.5265 GB, free: 18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3916, allocations: 3.938 kB / 0.5265 GB, free: 18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004623/0.3962, allocations: 1.099 MB / 0.5276 GB, free: 16.9 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.0004187/0.3966, allocations: 161.5 kB / 0.5277 GB, free: 16.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006572/0.4032, allocations: 3.032 MB / 0.5307 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.4032, allocations: 0 / 0.5307 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.404, allocations: 452 kB / 0.5311 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.4062, allocations: 303.8 kB / 0.5314 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.4181, allocations: 6.881 MB / 0.5381 GB, free: 6.879 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/0.4216, allocations: 2.311 MB / 0.5404 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004501/0.4261, allocations: 1.899 MB / 0.5422 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/0.4266, allocations: 208.4 kB / 0.5424 GB, free: 3.938 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4266, allocations: 0 / 0.5424 GB, free: 3.938 MB / 410.7 MB Notification: Performance of Templates: time 0.04467/0.4712, allocations: 16.83 MB / 0.5589 GB, free: 5.109 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.471392308943905]