Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001955/0.001955, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002473/0.002473, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 46.95 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 71.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3563, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01075/0.3671, allocations: 7.925 MB / 0.5696 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.3741, allocations: 3.361 MB / 0.5728 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008951/0.375, allocations: 55.75 kB / 0.5729 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.3783, allocations: 1.635 MB / 0.5745 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.382, allocations: 1.584 MB / 0.576 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3832, allocations: 0.5653 MB / 0.5766 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004729/0.388, allocations: 3.561 MB / 0.5801 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.3903, allocations: 1.839 MB / 0.5819 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.3919, allocations: 1.113 MB / 0.5829 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.3941, allocations: 1.67 MB / 0.5846 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.3945, allocations: 220 kB / 0.5848 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.3964, allocations: 1.01 MB / 0.5858 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.3979, allocations: 1.445 MB / 0.5872 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.3993, allocations: 1.184 MB / 0.5883 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.406, allocations: 5.42 MB / 0.5936 GB, free: 3.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.406, allocations: 0 / 0.5936 GB, free: 3.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.406, allocations: 0 / 0.5936 GB, free: 3.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.4061, allocations: 0 / 0.5936 GB, free: 3.402 MB / 430.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.006994/0.4131, allocations: 3.685 MB / 0.5972 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.4131, allocations: 12.02 kB / 0.5972 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.4287, allocations: 2.343 MB / 0.5995 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005818/0.4345, allocations: 2.13 MB / 0.6016 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.4346, allocations: 156.5 kB / 0.6018 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.4351, allocations: 228 kB / 0.602 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.4464, allocations: 7.448 MB / 0.6093 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.044e-05/0.4465, allocations: 35.7 kB / 0.6093 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/0.4468, allocations: 115.8 kB / 0.6094 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002671/0.4495, allocations: 1.542 MB / 0.6109 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.461, allocations: 6.295 MB / 0.6171 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03697/0.4979, allocations: 28.4 MB / 0.6448 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.5023, allocations: 1.695 MB / 0.6464 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.5039, allocations: 1.051 MB / 0.6475 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.5042, allocations: 92.23 kB / 0.6476 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.5042, allocations: 42.94 kB / 0.6476 GB, free: 10.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.867e-06/0.5042, allocations: 0 / 0.6476 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=132): time 0.03658/0.5408, allocations: 11.79 MB / 0.6591 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.5409, allocations: 196.6 kB / 0.6593 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/0.5456, allocations: 3.363 MB / 0.6626 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.5457, allocations: 45.7 kB / 0.6626 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.5479, allocations: 2.68 MB / 0.6652 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/0.5485, allocations: 0.5545 MB / 0.6658 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/0.5499, allocations: 1.084 MB / 0.6668 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5501, allocations: 313.1 kB / 0.6671 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.5528, allocations: 1.736 MB / 0.6688 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/0.5585, allocations: 5.131 MB / 0.6738 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009216/0.5677, allocations: 7.363 MB / 0.681 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.638e-05/0.5678, allocations: 36 kB / 0.6811 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01272/0.5805, allocations: 7.031 MB / 0.6879 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.5806, allocations: 58.34 kB / 0.688 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.5807, allocations: 120 kB / 0.6881 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.5824, allocations: 0.6446 MB / 0.6887 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.5861, allocations: 1.216 MB / 0.6899 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.5913, allocations: 3.902 MB / 0.6937 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.5948, allocations: 295.6 kB / 0.694 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005523/0.5954, allocations: 328.4 kB / 0.6943 GB, free: 6.918 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.002558/0.598, allocations: 1.708 MB / 0.696 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/0.5985, allocations: 278.1 kB / 0.6963 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.6023, allocations: 2.053 MB / 0.6983 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6024, allocations: 7.922 kB / 0.6983 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.6024, allocations: 8 kB / 0.6983 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/0.6029, allocations: 246 kB / 0.6985 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.6031, allocations: 20 kB / 0.6985 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6042, allocations: 75.89 kB / 0.6986 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.6044, allocations: 80.44 kB / 0.6987 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004833/0.6092, allocations: 2.662 MB / 0.7013 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00496/0.6142, allocations: 3.702 MB / 0.7049 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001223/0.6154, allocations: 0.8249 MB / 0.7057 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002846/0.6183, allocations: 1.937 MB / 0.7076 GB, free: 9.262 MB / 0.545 GB Notification: Performance of Backend: time 3.31e-07/0.6183, allocations: 0 / 0.7076 GB, free: 9.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007033/0.6253, allocations: 3.384 MB / 0.7109 GB, free: 5.887 MB / 0.545 GB Notification: Performance of SimCode: time 0.01158/0.6369, allocations: 7.282 MB / 0.718 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.3362/0.9731, allocations: 40.17 MB / 0.7572 GB, free: 140.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.838836044000345]