Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.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.0009465/0.0009465, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002174, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007205/0.0007205, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009657/0.001686, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.035/1.035, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2022/1.237, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1395/0.1395, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03222/0.1718, allocations: 12.31 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.741e-05, allocations: 6.25 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01065/0.01069, allocations: 9.067 MB / 276.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009209/0.0199, allocations: 3.667 MB / 280.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.02213, allocations: 59.75 kB / 280.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.02539, allocations: 1.728 MB / 281.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.0303, allocations: 1.727 MB / 283.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.03174, allocations: 0.5573 MB / 284.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.2077/0.2394, allocations: 3.641 MB / 287.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004767/0.2442, allocations: 2.011 MB / 289.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.2503, allocations: 2.09 MB / 291.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.2546, allocations: 1.714 MB / 293.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.2559, allocations: 242.1 kB / 293.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.2594, allocations: 1.107 MB / 295 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.2622, allocations: 1.46 MB / 296.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002972/0.2652, allocations: 0.8067 MB / 297.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008345/0.2735, allocations: 3.623 MB / 300.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-05/0.2736, allocations: 0 / 300.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.2736, allocations: 3.938 kB / 300.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002615/0.2738, allocations: 3.438 kB / 300.9 MB, free: 0.8398 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.01002/0.2838, allocations: 4.351 MB / 305.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2839, allocations: 12.97 kB / 305.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004007/0.2879, allocations: 1.047 MB / 306.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.2911, allocations: 1.546 MB / 307.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2912, allocations: 169.5 kB / 308 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.2916, allocations: 228.2 kB / 308.2 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006154/0.2977, allocations: 3.949 MB / 312.2 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.2978, allocations: 41 kB / 312.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.2981, allocations: 117.9 kB / 312.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001449/0.2995, allocations: 1.37 MB / 313.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004545/0.3041, allocations: 1.961 MB / 315.7 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0308/0.3349, allocations: 25.57 MB / 341.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.3377, allocations: 0.8306 MB / 342.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.3381, allocations: 202.1 kB / 342.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005521/0.3437, allocations: 2.303 MB / 344.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3437, allocations: 46.88 kB / 344.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=93): time 4.568e-06/0.3437, allocations: 0 / 344.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.01401/0.3577, allocations: 3.666 MB / 348.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.3578, allocations: 144.1 kB / 348.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.3617, allocations: 2.899 MB / 351.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.3618, allocations: 33.7 kB / 351.4 MB, free: 2.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/0.3635, allocations: 2.701 MB / 354.1 MB, free: 15.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005244/0.3641, allocations: 485.9 kB / 354.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.3653, allocations: 1.041 MB / 355.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3654, allocations: 301.1 kB / 355.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3668, allocations: 0.6429 MB / 356.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/0.3704, allocations: 4.113 MB / 360.6 MB, free: 7.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006567/0.3769, allocations: 5.608 MB / 366.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/0.3771, allocations: 36 kB / 366.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.008596/0.3857, allocations: 3.688 MB / 370 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.3858, allocations: 60.19 kB / 370 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002909/0.3861, allocations: 140 kB / 370.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.3867, allocations: 205.1 kB / 370.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/0.3908, allocations: 1.349 MB / 371.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.3925, allocations: 1.45 MB / 373.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005501/0.398, allocations: 256.5 kB / 373.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007921/0.3988, allocations: 292 kB / 373.7 MB, free: 9.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 576 * Number of states: 0 () * Number of discrete variables: 27 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001748/0.4005, allocations: 0.5726 MB / 374.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006228/0.4011, allocations: 171.8 kB / 374.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.4022, allocations: 0.5463 MB / 375 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.4022, allocations: 16 kB / 375 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4022, allocations: 0 / 375 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4023, allocations: 7.922 kB / 375 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/0.4077, allocations: 2.731 MB / 377.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/0.4077, allocations: 12 kB / 377.7 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.4084, allocations: 159.8 kB / 377.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008546/0.4092, allocations: 341.9 kB / 378.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/0.4097, allocations: 209 kB / 378.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.4098, allocations: 27.92 kB / 378.5 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009064/0.4107, allocations: 1.21 MB / 379.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.4107, allocations: 7.938 kB / 379.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.4124, allocations: 1.344 MB / 381 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/0.4128, allocations: 20 kB / 381 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.4137, allocations: 24 kB / 381.1 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.4138, allocations: 64.27 kB / 381.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.4139, allocations: 27.98 kB / 381.2 MB, free: 1.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001549/0.4154, allocations: 1.035 MB / 382.2 MB, free: 324 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4154, allocations: 4 kB / 382.2 MB, free: 320 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.004285/0.4197, allocations: 0.824 MB / 383 MB, free: 15.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (88): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000381/0.4201, allocations: 152.1 kB / 383.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.4237, allocations: 2.238 MB / 385.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002347/0.424, allocations: 100.2 kB / 385.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.4246, allocations: 426.6 kB / 385.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.4279, allocations: 2.241 MB / 388.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.4404, allocations: 5.906 MB / 394.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.4416, allocations: 0.9726 MB / 395 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001403/0.443, allocations: 443 kB / 395.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/0.4436, allocations: 449.2 kB / 395.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of SimCode: time 2.294e-06/0.4436, allocations: 0 / 395.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of Templates: time 0.03998/0.4836, allocations: 20.99 MB / 416.9 MB, free: 13.19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/Distance/Distance.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.6214082622900605]