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.00113/0.00113, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002769, allocations: 447.8 kB / 10.35 MB, free: 348 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.001107/0.001107, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.002406, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 0.9545/0.9545, allocations: 158.6 MB / 171 MB, free: 2.191 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1869/1.141, allocations: 49.51 MB / 220.5 MB, free: 5.273 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.1345/0.1345, allocations: 32.35 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02145/0.156, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.553e-06/1.553e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.594e-05, allocations: 2.312 kB / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.007816/0.007842, allocations: 9.063 MB / 276.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00591/0.01375, allocations: 3.667 MB / 279.9 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009381/0.01469, allocations: 63.69 kB / 280 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.01643, allocations: 1.724 MB / 281.7 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.01913, allocations: 1.727 MB / 283.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008981/0.02002, allocations: 0.569 MB / 284 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.02346, allocations: 3.649 MB / 287.7 MB, free: 2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.02565, allocations: 2.021 MB / 289.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.02805, allocations: 2.077 MB / 291.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.02962, allocations: 1.714 MB / 293.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.02991, allocations: 240 kB / 293.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.03121, allocations: 1.108 MB / 294.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.03213, allocations: 1.457 MB / 296.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007689/0.0329, allocations: 0.8061 MB / 297.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.03589, allocations: 3.635 MB / 300.7 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.0359, allocations: 3.938 kB / 300.7 MB, free: 4.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03591, allocations: 0 / 300.7 MB, free: 4.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.384e-05/0.03596, allocations: 0 / 300.7 MB, free: 4.844 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.00413/0.04009, allocations: 4.352 MB / 305.1 MB, free: 432 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.04013, allocations: 8.031 kB / 305.1 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/0.04443, allocations: 1.054 MB / 306.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.04966, allocations: 1.531 MB / 307.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.04978, allocations: 172.7 kB / 307.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.05011, allocations: 228.2 kB / 308.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.06086, allocations: 3.959 MB / 312 MB, free: 8.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-05/0.06094, allocations: 39.67 kB / 312.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.06118, allocations: 111.9 kB / 312.2 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.06278, allocations: 1.473 MB / 313.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006751/0.06953, allocations: 1.956 MB / 315.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1954/0.2649, allocations: 25.57 MB / 341.2 MB, free: 24.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.2669, allocations: 0.8343 MB / 342 MB, free: 24.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.2672, allocations: 208 kB / 342.2 MB, free: 24.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003336/0.2705, allocations: 2.309 MB / 344.5 MB, free: 24.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2705, allocations: 45.17 kB / 344.6 MB, free: 24.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=93): time 4.018e-06/0.2705, allocations: 0 / 344.6 MB, free: 24.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.00969/0.2802, allocations: 3.611 MB / 348.2 MB, free: 23.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2803, allocations: 141.4 kB / 348.3 MB, free: 23.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/0.2833, allocations: 2.892 MB / 351.2 MB, free: 22.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/0.2834, allocations: 43.02 kB / 351.2 MB, free: 22.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.2847, allocations: 2.705 MB / 353.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.2851, allocations: 485.7 kB / 354.4 MB, free: 20.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008962/0.286, allocations: 1.039 MB / 355.5 MB, free: 20.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.286, allocations: 313.3 kB / 355.8 MB, free: 20.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.2871, allocations: 0.64 MB / 356.4 MB, free: 19.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.2891, allocations: 4.113 MB / 360.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.2924, allocations: 5.197 MB / 365.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-05/0.2925, allocations: 37.38 kB / 365.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.004154/0.2966, allocations: 3.67 MB / 369.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.2967, allocations: 61.53 kB / 369.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.2968, allocations: 125.5 kB / 369.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.2972, allocations: 212.7 kB / 369.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.2992, allocations: 1.349 MB / 371.2 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008453/0.3, allocations: 1.457 MB / 372.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.3023, allocations: 253.2 kB / 372.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.3026, allocations: 293.9 kB / 373.1 MB, free: 7.539 MB / 330.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.0008787/0.3034, allocations: 0.5678 MB / 373.7 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.3037, allocations: 172 kB / 373.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.3043, allocations: 0.5497 MB / 374.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3043, allocations: 12 kB / 374.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3043, allocations: 4 kB / 374.4 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.3043, allocations: 7.516 kB / 374.5 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.3078, allocations: 2.736 MB / 377.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.3079, allocations: 4 kB / 377.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.3083, allocations: 164.2 kB / 377.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.3088, allocations: 340.7 kB / 377.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.309, allocations: 210.2 kB / 377.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.3091, allocations: 23.3 kB / 377.9 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004844/0.3096, allocations: 1.214 MB / 379.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3096, allocations: 4 kB / 379.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.3105, allocations: 1.333 MB / 380.5 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.3107, allocations: 22.95 kB / 380.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.3112, allocations: 27.25 kB / 380.5 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.3112, allocations: 63.95 kB / 380.6 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.3113, allocations: 30.59 kB / 380.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007089/0.312, allocations: 1.031 MB / 381.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.312, allocations: 0 / 381.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002632/0.3146, allocations: 0.8254 MB / 382.5 MB, free: 15.86 MB / 346.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.0003345/0.3149, allocations: 150.8 kB / 382.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.3177, allocations: 2.138 MB / 384.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000169/0.3179, allocations: 107.5 kB / 384.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.3183, allocations: 367 kB / 385.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3198, allocations: 0.6658 MB / 385.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.33, allocations: 5.907 MB / 391.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008953/0.3309, allocations: 0.9885 MB / 392.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001158/0.332, allocations: 441.4 kB / 393.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.3326, allocations: 454.3 kB / 393.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3326, allocations: 0 / 393.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of Templates: time 0.03544/0.3681, allocations: 22.71 MB / 416.4 MB, free: 14.31 MB / 378.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8107272321358323]