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.001372/0.001372, allocations: 82.33 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001491/0.001491, allocations: 163.3 kB / 24.5 MB, free: 3.852 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 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.2168/0.2168, allocations: 34.27 MB / 295.4 MB, free: 14.46 MB / 286.1 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 0.002571/0.002571, allocations: 79.88 kB / 443.1 MB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3011, allocations: 66.06 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.008764/0.3099, allocations: 7.925 MB / 0.505 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00664/0.3165, allocations: 3.362 MB / 0.5083 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.3186, allocations: 58.72 kB / 0.5084 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.3217, allocations: 1.626 MB / 0.5099 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.325, allocations: 1.588 MB / 0.5115 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.3261, allocations: 0.5585 MB / 0.512 GB, free: 20.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004345/0.3305, allocations: 3.577 MB / 0.5155 GB, free: 19.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.3325, allocations: 1.815 MB / 0.5173 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.3341, allocations: 1.116 MB / 0.5184 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.3361, allocations: 1.59 MB / 0.5199 GB, free: 17.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.3366, allocations: 219.9 kB / 0.5202 GB, free: 17.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.3385, allocations: 1.008 MB / 0.5211 GB, free: 17.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.3399, allocations: 1.436 MB / 0.5225 GB, free: 16.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.3411, allocations: 1.188 MB / 0.5237 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006842/0.348, allocations: 5.419 MB / 0.529 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.348, allocations: 0 / 0.529 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.348, allocations: 4.547 kB / 0.529 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001487/0.3481, allocations: 1.344 kB / 0.529 GB, free: 14.21 MB / 446.1 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.009061/0.3572, allocations: 3.689 MB / 0.5326 GB, free: 11.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3572, allocations: 10.31 kB / 0.5326 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.373, allocations: 2.395 MB / 0.535 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005953/0.3789, allocations: 2.127 MB / 0.537 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3791, allocations: 157.7 kB / 0.5372 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005019/0.3796, allocations: 228.2 kB / 0.5374 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.3904, allocations: 7.457 MB / 0.5447 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.93e-05/0.3905, allocations: 39.64 kB / 0.5447 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.3908, allocations: 111.9 kB / 0.5448 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002167/0.3929, allocations: 1.542 MB / 0.5463 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.4046, allocations: 6.295 MB / 0.5525 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.4434, allocations: 28.48 MB / 0.5803 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.448, allocations: 1.756 MB / 0.582 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.4496, allocations: 1.051 MB / 0.583 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.4499, allocations: 92.25 kB / 0.5831 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.4499, allocations: 39.06 kB / 0.5832 GB, free: 11.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.687e-06/0.4499, allocations: 0 / 0.5832 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=132): time 0.03769/0.4876, allocations: 12.07 MB / 0.5949 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.4877, allocations: 200.6 kB / 0.5951 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004837/0.4926, allocations: 3.359 MB / 0.5984 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.4928, allocations: 45.7 kB / 0.5985 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.4948, allocations: 2.672 MB / 0.6011 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/0.4954, allocations: 0.5545 MB / 0.6016 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/0.4969, allocations: 1.095 MB / 0.6027 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4971, allocations: 305.1 kB / 0.603 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/0.4998, allocations: 1.736 MB / 0.6047 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005778/0.5056, allocations: 5.138 MB / 0.6097 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/0.5156, allocations: 7.363 MB / 0.6169 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/0.5157, allocations: 32 kB / 0.6169 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01822/0.5339, allocations: 7.025 MB / 0.6238 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.5341, allocations: 56 kB / 0.6238 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002531/0.5344, allocations: 123.9 kB / 0.6239 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.5363, allocations: 0.649 MB / 0.6246 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/0.5407, allocations: 1.216 MB / 0.6258 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/0.5465, allocations: 3.898 MB / 0.6296 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004646/0.5511, allocations: 299.5 kB / 0.6298 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.5524, allocations: 332 kB / 0.6302 GB, free: 7.984 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * 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 (659): * Single equations (assignments): 655 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004841/0.5572, allocations: 1.697 MB / 0.6318 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008828/0.5581, allocations: 282.1 kB / 0.6321 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.563, allocations: 2.057 MB / 0.6341 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/0.5631, allocations: 12 kB / 0.6341 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.5631, allocations: 4.375 kB / 0.6341 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/0.5631, allocations: 7.969 kB / 0.6341 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.5759, allocations: 4.805 MB / 0.6388 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.5759, allocations: 4 kB / 0.6388 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.577, allocations: 195.7 kB / 0.639 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.5785, allocations: 492.2 kB / 0.6395 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.5787, allocations: 23.98 kB / 0.6395 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/0.5831, allocations: 3.288 MB / 0.6427 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5831, allocations: 4.031 kB / 0.6427 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/0.5903, allocations: 4.15 MB / 0.6468 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.5913, allocations: 250 kB / 0.647 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007386/0.592, allocations: 20 kB / 0.647 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.5936, allocations: 75.89 kB / 0.6471 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.5938, allocations: 80.33 kB / 0.6472 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.594, allocations: 36.28 kB / 0.6472 GB, free: 6.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004366/0.5983, allocations: 1.933 MB / 0.6491 GB, free: 4.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5983, allocations: 0 / 0.6491 GB, free: 4.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006111/0.6044, allocations: 0.789 MB / 0.6499 GB, free: 3.578 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (102): * Single equations (assignments): 98 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000609/0.605, allocations: 148.3 kB / 0.65 GB, free: 3.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008217/0.6133, allocations: 3.975 MB / 0.6539 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.6133, allocations: 0 / 0.6539 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.6152, allocations: 1.061 MB / 0.6549 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.6183, allocations: 302.4 kB / 0.6552 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.6355, allocations: 7.195 MB / 0.6622 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004717/0.6402, allocations: 2.076 MB / 0.6643 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004832/0.645, allocations: 1.657 MB / 0.6659 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009131/0.6459, allocations: 192.5 kB / 0.6661 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/0.6459, allocations: 0 / 0.6661 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of Templates: time 0.05649/0.7024, allocations: 22.55 MB / 0.6881 GB, free: 12.67 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/Distance/Distance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.Distance.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.642638523946516]