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.001095/0.001095, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001044/0.001044, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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 0.867/0.867, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.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.1315/0.1315, allocations: 32.38 MB / 270.7 MB, free: 14.61 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 1.172e-06/1.172e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.6e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.1433/0.1433, allocations: 8.994 MB / 308.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.1496, allocations: 3.644 MB / 311.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009293/0.1505, allocations: 57.44 kB / 311.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.1526, allocations: 1.775 MB / 313.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.1551, allocations: 1.74 MB / 315.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.156, allocations: 0.6165 MB / 315.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003036/0.159, allocations: 3.87 MB / 319.8 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.1606, allocations: 2.192 MB / 322 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.1625, allocations: 2.054 MB / 324 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.164, allocations: 1.722 MB / 325.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.1642, allocations: 244 kB / 326 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.1654, allocations: 1.115 MB / 327.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006629/0.166, allocations: 1.624 MB / 328.7 MB, free: 488 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007801/0.1668, allocations: 0.9773 MB / 329.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.17, allocations: 3.943 MB / 333.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.17, allocations: 0 / 333.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.17, allocations: 0 / 333.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.1701, allocations: 0 / 333.7 MB, free: 11.54 MB / 298.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.003887/0.174, allocations: 3.609 MB / 337.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.174, allocations: 8.031 kB / 337.3 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.177, allocations: 1.035 MB / 338.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.1787, allocations: 1.527 MB / 339.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/0.1788, allocations: 180.7 kB / 340 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.1791, allocations: 228.2 kB / 340.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.1826, allocations: 3.956 MB / 344.2 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.1827, allocations: 43.62 kB / 344.2 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.1829, allocations: 111.9 kB / 344.3 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001198/0.184, allocations: 1.453 MB / 345.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.1869, allocations: 1.961 MB / 347.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.2044, allocations: 25.59 MB / 373.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.2061, allocations: 0.8568 MB / 374.2 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.2063, allocations: 202.1 kB / 374.4 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/0.2093, allocations: 2.313 MB / 376.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2093, allocations: 50.77 kB / 376.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 3.686e-06/0.2093, allocations: 0 / 376.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.00853/0.2179, allocations: 3.654 MB / 380.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.218, allocations: 196.4 kB / 380.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.2203, allocations: 2.892 MB / 383.5 MB, free: 7.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.2204, allocations: 45.69 kB / 383.6 MB, free: 7.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.2222, allocations: 2.7 MB / 386.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.2225, allocations: 480.5 kB / 386.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008247/0.2233, allocations: 1.04 MB / 387.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.2234, allocations: 301.1 kB / 388.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009486/0.2243, allocations: 0.6429 MB / 388.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.2271, allocations: 4.11 MB / 392.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/0.2314, allocations: 5.19 MB / 398 MB, free: 5.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.052e-05/0.2315, allocations: 36 kB / 398 MB, free: 5.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.004138/0.2356, allocations: 3.688 MB / 401.7 MB, free: 1.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.2357, allocations: 60 kB / 401.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.729e-05/0.2357, allocations: 128 kB / 401.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.236, allocations: 207.6 kB / 402.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.2382, allocations: 1.263 MB / 403.4 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/0.2391, allocations: 1.454 MB / 404.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.241, allocations: 255.7 kB / 405.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.2413, allocations: 296.1 kB / 405.4 MB, free: 14.09 MB / 378.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.001019/0.2423, allocations: 0.5704 MB / 405.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.2426, allocations: 167.8 kB / 406.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.2432, allocations: 0.5476 MB / 406.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.2433, allocations: 19.98 kB / 406.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2433, allocations: 3.938 kB / 406.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.2433, allocations: 3.984 kB / 406.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/0.2464, allocations: 2.73 MB / 409.4 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2464, allocations: 7.938 kB / 409.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.2468, allocations: 151.8 kB / 409.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/0.2474, allocations: 208.9 kB / 409.8 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.2474, allocations: 27.92 kB / 409.8 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006021/0.248, allocations: 1.21 MB / 411 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.248, allocations: 11.38 kB / 411 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.2491, allocations: 1.34 MB / 412.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.2494, allocations: 333.9 kB / 412.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.2496, allocations: 20 kB / 412.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.2501, allocations: 23.98 kB / 412.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.2502, allocations: 72.36 kB / 412.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.2502, allocations: 31.98 kB / 412.8 MB, free: 6.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008231/0.251, allocations: 1.031 MB / 413.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.251, allocations: 0 / 413.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002309/0.2533, allocations: 0.8163 MB / 414.7 MB, free: 4.48 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.0002617/0.2536, allocations: 156.1 kB / 414.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.256, allocations: 2.126 MB / 416.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001357/0.2561, allocations: 92.16 kB / 417 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.2565, allocations: 373.5 kB / 417.4 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.2577, allocations: 473.7 kB / 417.9 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/0.2642, allocations: 5.797 MB / 423.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.2652, allocations: 0.9796 MB / 424.6 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009141/0.2661, allocations: 447 kB / 425.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/0.2667, allocations: 457.2 kB / 425.5 MB, free: 9.473 MB / 394.7 MB Notification: Performance of SimCode: time 1.994e-06/0.2667, allocations: 0 / 425.5 MB, free: 9.473 MB / 394.7 MB Notification: Performance of Templates: time 0.03354/0.3003, allocations: 22.21 MB / 447.7 MB, free: 3.352 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.573199328035116]