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.001794/0.001794, allocations: 117.2 kB / 18.45 MB, free: 4.461 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.002006/0.002006, allocations: 210.6 kB / 21.4 MB, free: 1.516 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.476/1.476, allocations: 227.4 MB / 251.6 MB, free: 284 kB / 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.2455/0.2455, allocations: 46.17 MB / 351.1 MB, free: 14.32 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.002268/0.002268, allocations: 81.39 kB / 490.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1316, allocations: 62.45 MB / 0.5397 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01186/0.1435, allocations: 8.924 MB / 0.5484 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.1515, allocations: 3.546 MB / 0.5519 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.153, allocations: 47.88 kB / 0.5519 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.1565, allocations: 1.666 MB / 0.5535 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.1611, allocations: 1.545 MB / 0.555 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.1627, allocations: 0.5574 MB / 0.5556 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.1687, allocations: 3.563 MB / 0.5591 GB, free: 348 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003743/0.1725, allocations: 2.204 MB / 0.5612 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.1752, allocations: 1.082 MB / 0.5623 GB, free: 13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.1786, allocations: 1.542 MB / 0.5638 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008336/0.1794, allocations: 216 kB / 0.564 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.1818, allocations: 1.096 MB / 0.5651 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.1837, allocations: 1.414 MB / 0.5664 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.186, allocations: 1.611 MB / 0.568 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007701/0.1937, allocations: 5.408 MB / 0.5733 GB, free: 1.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1937, allocations: 0 / 0.5733 GB, free: 1.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1938, allocations: 0 / 0.5733 GB, free: 1.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001608/0.1939, allocations: 3.984 kB / 0.5733 GB, free: 1.668 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.009491/0.2034, allocations: 3.757 MB / 0.577 GB, free: 13.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.2035, allocations: 12.03 kB / 0.577 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.2199, allocations: 2.35 MB / 0.5793 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005197/0.2251, allocations: 2.179 MB / 0.5814 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.2253, allocations: 168.4 kB / 0.5816 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/0.2258, allocations: 216 kB / 0.5818 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.2382, allocations: 7.406 MB / 0.589 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.2384, allocations: 39.64 kB / 0.589 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.2387, allocations: 107.9 kB / 0.5891 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002715/0.2415, allocations: 1.539 MB / 0.5906 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.2539, allocations: 6.315 MB / 0.5968 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3456/0.5995, allocations: 30.23 MB / 0.6263 GB, free: 35.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/0.6043, allocations: 2.231 MB / 0.6285 GB, free: 34.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.6059, allocations: 1.131 MB / 0.6296 GB, free: 33.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.6063, allocations: 329.9 kB / 0.6299 GB, free: 33.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.6063, allocations: 43.22 kB / 0.63 GB, free: 33.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 3.657e-06/0.6064, allocations: 0 / 0.63 GB, free: 33.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=132): time 0.03635/0.6427, allocations: 11.98 MB / 0.6417 GB, free: 29.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.6428, allocations: 203 kB / 0.6419 GB, free: 28.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005116/0.648, allocations: 3.607 MB / 0.6454 GB, free: 27.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002695/0.6483, allocations: 48.22 kB / 0.6454 GB, free: 27.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.6495, allocations: 2.646 MB / 0.648 GB, free: 25.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/0.65, allocations: 0.548 MB / 0.6485 GB, free: 24.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.6512, allocations: 1.094 MB / 0.6496 GB, free: 24.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.6512, allocations: 305.1 kB / 0.6499 GB, free: 23.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.6532, allocations: 1.741 MB / 0.6516 GB, free: 22.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/0.6563, allocations: 5.085 MB / 0.6566 GB, free: 17.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005816/0.6622, allocations: 7.367 MB / 0.6638 GB, free: 9.617 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.26e-05/0.6623, allocations: 40 kB / 0.6638 GB, free: 9.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01004/0.6723, allocations: 7.065 MB / 0.6707 GB, free: 2.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.6724, allocations: 55.94 kB / 0.6708 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-05/0.6725, allocations: 120 kB / 0.6709 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.6739, allocations: 0.6462 MB / 0.6715 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.6771, allocations: 1.22 MB / 0.6727 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005263/0.6824, allocations: 4.062 MB / 0.6767 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/0.6868, allocations: 291.6 kB / 0.6769 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009468/0.6877, allocations: 339.8 kB / 0.6773 GB, free: 11.65 MB / 478.1 MB 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.003484/0.6912, allocations: 1.693 MB / 0.6789 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009381/0.6922, allocations: 313.9 kB / 0.6792 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/0.6966, allocations: 2.092 MB / 0.6813 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.6967, allocations: 12 kB / 0.6813 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6967, allocations: 4 kB / 0.6813 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.6967, allocations: 3.984 kB / 0.6813 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.7082, allocations: 5.622 MB / 0.6868 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.7082, allocations: 4.062 kB / 0.6868 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.7092, allocations: 195.7 kB / 0.687 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.7107, allocations: 487.5 kB / 0.6874 GB, free: 1.168 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/0.7108, allocations: 24 kB / 0.6874 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00455/0.7154, allocations: 3.438 MB / 0.6908 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7154, allocations: 0 / 0.6908 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007079/0.7225, allocations: 4.198 MB / 0.6949 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.7238, allocations: 373.7 kB / 0.6953 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/0.7242, allocations: 20 kB / 0.6953 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.7253, allocations: 74.66 kB / 0.6954 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.7256, allocations: 72.06 kB / 0.6954 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.7257, allocations: 36 kB / 0.6955 GB, free: 8.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003647/0.7293, allocations: 2.252 MB / 0.6977 GB, free: 6.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.797e-06/0.7294, allocations: 0 / 0.6977 GB, free: 6.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004105/0.7335, allocations: 0.7889 MB / 0.6984 GB, free: 5.73 MB / 494.1 MB 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.000389/0.7339, allocations: 150.8 kB / 0.6986 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007119/0.741, allocations: 4.146 MB / 0.7026 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.7411, allocations: 0.5 kB / 0.7026 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.7428, allocations: 1.131 MB / 0.7037 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.7451, allocations: 359.3 kB / 0.7041 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.7575, allocations: 7.184 MB / 0.7111 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.7605, allocations: 2.631 MB / 0.7136 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003841/0.7644, allocations: 1.691 MB / 0.7153 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.765, allocations: 207.4 kB / 0.7155 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.765, allocations: 0 / 0.7155 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.05577/0.8208, allocations: 25.77 MB / 0.7407 GB, free: 10.57 MB / 0.5294 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/Distance/Distance.csv","/var/lib/jenkins/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.696116089820862]