Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.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.0008898/0.0008898, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002089, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007699/0.0007699, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001772, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9933/0.9933, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09723/1.091, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.3162/0.3162, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03477/0.351, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.54e-05, allocations: 8.031 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.006991/0.007007, allocations: 8.602 MB / 302.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.0117, allocations: 3.606 MB / 306.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.01216, allocations: 55.75 kB / 306.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.01382, allocations: 1.713 MB / 307.8 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.01612, allocations: 1.614 MB / 309.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007448/0.01687, allocations: 0.5689 MB / 310 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003098/0.01997, allocations: 3.699 MB / 313.7 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.02139, allocations: 1.943 MB / 315.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.02329, allocations: 2.077 MB / 317.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.02473, allocations: 1.621 MB / 319.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.025, allocations: 228 kB / 319.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.02615, allocations: 1.088 MB / 320.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008868/0.02704, allocations: 1.364 MB / 322 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007478/0.02779, allocations: 0.7399 MB / 322.8 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.03068, allocations: 3.402 MB / 326.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.03069, allocations: 0 / 326.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.03069, allocations: 0 / 326.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.636e-05/0.03073, allocations: 0 / 326.2 MB, free: 4.719 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.003977/0.0347, allocations: 4.138 MB / 330.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.03474, allocations: 12.92 kB / 330.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.03747, allocations: 0.98 MB / 331.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.03901, allocations: 1.469 MB / 332.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.03908, allocations: 164.5 kB / 332.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.03932, allocations: 216.2 kB / 333.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003292/0.04261, allocations: 3.775 MB / 336.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.04266, allocations: 43.62 kB / 337 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.04283, allocations: 107.9 kB / 337.1 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/0.04387, allocations: 1.348 MB / 338.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.04615, allocations: 1.84 MB / 340.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.06119, allocations: 24.73 MB / 365 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.06266, allocations: 0.786 MB / 365.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.06289, allocations: 187.5 kB / 366 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002589/0.06548, allocations: 2.21 MB / 368.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.06552, allocations: 42.56 kB / 368.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/0.06552, allocations: 0 / 368.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=101): time 0.007541/0.07306, allocations: 3.459 MB / 371.7 MB, free: 5.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003062/0.07337, allocations: 141 kB / 371.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.07532, allocations: 2.81 MB / 374.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.07536, allocations: 37.7 kB / 374.6 MB, free: 2.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.07644, allocations: 2.579 MB / 377.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.07671, allocations: 448.8 kB / 377.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007299/0.07744, allocations: 1.009 MB / 378.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.07751, allocations: 301.1 kB / 379 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.07854, allocations: 0.6189 MB / 379.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.08076, allocations: 3.984 MB / 383.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.08402, allocations: 5.024 MB / 388.6 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-05/0.08406, allocations: 39.98 kB / 388.6 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of matching and sorting (n=681) (initialization): time 0.003751/0.08781, allocations: 3.552 MB / 392.2 MB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.08786, allocations: 59.75 kB / 392.2 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-05/0.08793, allocations: 128.9 kB / 392.4 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.08819, allocations: 203.6 kB / 392.6 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.09008, allocations: 1.302 MB / 393.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007691/0.09085, allocations: 1.443 MB / 395.3 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005962/0.09681, allocations: 243.7 kB / 395.6 MB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008442/0.09766, allocations: 284 kB / 395.8 MB, free: 9.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * Number of states: 0 () * Number of discrete variables: 29 (Distance1.arrow.twoHeadedArrow,Distance1.arrow.headAtOrigin,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 (656): * Single equations (assignments): 652 * 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.001861/0.09952, allocations: 0.5679 MB / 396.4 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/0.1002, allocations: 159.8 kB / 396.6 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.1014, allocations: 0.4962 MB / 397.1 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.1014, allocations: 12 kB / 397.1 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.1014, allocations: 4 kB / 397.1 MB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1014, allocations: 7.922 kB / 397.1 MB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/0.1064, allocations: 2.569 MB / 399.6 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.1064, allocations: 4.344 kB / 399.6 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.1068, allocations: 151.8 kB / 399.8 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/0.1074, allocations: 246.1 kB / 400 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.1079, allocations: 200.4 kB / 400.2 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/0.108, allocations: 23.98 kB / 400.3 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008783/0.1088, allocations: 1.216 MB / 401.5 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1088, allocations: 7.938 kB / 401.5 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.1102, allocations: 1.274 MB / 402.8 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.1106, allocations: 19.98 kB / 402.8 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.1111, allocations: 32.16 kB / 402.8 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.1112, allocations: 59.78 kB / 402.9 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.1112, allocations: 27.98 kB / 402.9 MB, free: 2.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009563/0.1122, allocations: 1.001 MB / 403.9 MB, free: 1.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1122, allocations: 0 / 403.9 MB, free: 1.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002994/0.1152, allocations: 0.7655 MB / 404.7 MB, free: 296 kB / 394.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 (78): * Single equations (assignments): 74 * 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.000349/0.1155, allocations: 148.1 kB / 404.8 MB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.1184, allocations: 2.041 MB / 406.8 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001552/0.1186, allocations: 96.16 kB / 406.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.119, allocations: 346.2 kB / 407.3 MB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.1206, allocations: 0.6205 MB / 407.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.131, allocations: 5.578 MB / 413.5 MB, free: 7.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.132, allocations: 0.921 MB / 414.4 MB, free: 6.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001199/0.1332, allocations: 418.2 kB / 414.8 MB, free: 5.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.1338, allocations: 441.2 kB / 415.2 MB, free: 5.539 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/0.1339, allocations: 0 / 415.2 MB, free: 5.539 MB / 410.7 MB Notification: Performance of Templates: time 0.03765/0.1715, allocations: 21.69 MB / 436.9 MB, free: 120 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8137818789109588]