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.001883/0.001883, allocations: 92.22 kB / 20.21 MB, free: 4.199 MB / 18.57 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.002279/0.002279, allocations: 157.7 kB / 23.52 MB, free: 0.8906 MB / 18.57 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 1.406/1.406, allocations: 158.6 MB / 185.3 MB, free: 2.871 MB / 170.7 MB " [Timeout remaining time 178] 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.2163/0.2163, allocations: 32.38 MB / 270 MB, free: 14.76 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 2.104e-06/2.104e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.304e-05, allocations: 6.25 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.007785/0.007818, allocations: 8.35 MB / 355.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007654/0.01547, allocations: 3.427 MB / 358.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.0171, allocations: 55.75 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.02129, allocations: 1.763 MB / 360.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005562/0.02685, allocations: 1.746 MB / 362.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.02853, allocations: 0.6118 MB / 362.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006406/0.03494, allocations: 3.87 MB / 366.7 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003902/0.03884, allocations: 2.235 MB / 369 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.04224, allocations: 1.781 MB / 370.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003376/0.04562, allocations: 1.808 MB / 372.6 MB, free: 32 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006494/0.04627, allocations: 244 kB / 372.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.04849, allocations: 1.084 MB / 373.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00191/0.0504, allocations: 1.613 MB / 375.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.05187, allocations: 0.9889 MB / 376.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.06012, allocations: 5.876 MB / 382.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.06013, allocations: 0 / 382.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.06013, allocations: 3.938 kB / 382.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.06027, allocations: 0 / 382.4 MB, free: 6.199 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: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.009818/0.07009, allocations: 3.916 MB / 386.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.07014, allocations: 8.031 kB / 386.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.08747, allocations: 2.862 MB / 389.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006479/0.09395, allocations: 2.239 MB / 391.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.09416, allocations: 172.7 kB / 391.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009199/0.09508, allocations: 236.2 kB / 391.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.1131, allocations: 7.98 MB / 399.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.1132, allocations: 51.62 kB / 399.8 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.1136, allocations: 115.8 kB / 399.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003329/0.1169, allocations: 1.668 MB / 401.6 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.1318, allocations: 6.766 MB / 408.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04674/0.1785, allocations: 29.79 MB / 438.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/0.1838, allocations: 1.828 MB / 440 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.1857, allocations: 1.094 MB / 441.1 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/0.1861, allocations: 116.3 kB / 441.2 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/0.1862, allocations: 55 kB / 441.3 MB, free: 9.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 4.318e-06/0.1862, allocations: 0 / 441.3 MB, free: 9.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=141): time 0.1983/0.3846, allocations: 19.5 MB / 460.8 MB, free: 102.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.3846, allocations: 203.4 kB / 461 MB, free: 102.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.3883, allocations: 3.57 MB / 464.5 MB, free: 101 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.3884, allocations: 40.64 kB / 464.6 MB, free: 101 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.3896, allocations: 2.771 MB / 467.3 MB, free: 98.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004637/0.3901, allocations: 0.5822 MB / 467.9 MB, free: 98.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.3913, allocations: 1.112 MB / 469 MB, free: 98.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.3913, allocations: 301.1 kB / 469.3 MB, free: 97.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.3935, allocations: 2.001 MB / 471.3 MB, free: 96.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.397, allocations: 5.496 MB / 476.8 MB, free: 89.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/0.4033, allocations: 8 MB / 484.8 MB, free: 79.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.901e-05/0.4034, allocations: 32 kB / 484.9 MB, free: 79.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.01052/0.4139, allocations: 7.956 MB / 492.8 MB, free: 71.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.414, allocations: 56 kB / 492.9 MB, free: 71.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.304e-05/0.4141, allocations: 120 kB / 493 MB, free: 71.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.4156, allocations: 0.6882 MB / 493.7 MB, free: 70.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.4191, allocations: 1.291 MB / 495 MB, free: 69.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/0.4227, allocations: 3.932 MB / 498.9 MB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004391/0.4271, allocations: 371.4 kB / 499.3 MB, free: 64.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005743/0.4277, allocations: 347.2 kB / 499.6 MB, free: 64.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (682): * Single equations (assignments): 678 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002432/0.4301, allocations: 1.786 MB / 0.4896 GB, free: 62.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000796/0.4309, allocations: 326 kB / 0.4899 GB, free: 62.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.4349, allocations: 2.625 MB / 0.4925 GB, free: 59.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.435, allocations: 16 kB / 0.4925 GB, free: 59.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.435, allocations: 4 kB / 0.4925 GB, free: 59.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.435, allocations: 11.91 kB / 0.4925 GB, free: 59.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009271/0.4443, allocations: 5.809 MB / 0.4982 GB, free: 53.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4443, allocations: 0 / 0.4982 GB, free: 53.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.4455, allocations: 251.7 kB / 0.4984 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.4469, allocations: 0.5157 MB / 0.499 GB, free: 53.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.447, allocations: 26.11 kB / 0.499 GB, free: 53.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.45, allocations: 3.322 MB / 0.5022 GB, free: 49.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.45, allocations: 0 / 0.5022 GB, free: 49.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006215/0.4562, allocations: 5.104 MB / 0.5072 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.4576, allocations: 0.5212 MB / 0.5077 GB, free: 44.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.458, allocations: 27.98 kB / 0.5077 GB, free: 44.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.4594, allocations: 139.8 kB / 0.5079 GB, free: 43.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.4596, allocations: 80.44 kB / 0.508 GB, free: 43.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.4597, allocations: 43.31 kB / 0.508 GB, free: 43.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002466/0.4622, allocations: 2.072 MB / 0.51 GB, free: 41.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4622, allocations: 4 kB / 0.51 GB, free: 41.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004253/0.4665, allocations: 0.9413 MB / 0.5109 GB, free: 40.82 MB / 378.7 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 (112): * Single equations (assignments): 108 * 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.0004051/0.4669, allocations: 167.1 kB / 0.5111 GB, free: 40.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006093/0.473, allocations: 4.541 MB / 0.5155 GB, free: 36.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.473, allocations: 0 / 0.5155 GB, free: 36.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.4745, allocations: 1.315 MB / 0.5168 GB, free: 34.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.4766, allocations: 347.4 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.4878, allocations: 7.806 MB / 0.5248 GB, free: 26.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/0.4904, allocations: 2.207 MB / 0.5269 GB, free: 24.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003942/0.4944, allocations: 1.724 MB / 0.5286 GB, free: 22.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/0.4951, allocations: 208.5 kB / 0.5288 GB, free: 22.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.685e-06/0.4951, allocations: 4 kB / 0.5288 GB, free: 22.44 MB / 378.7 MB Notification: Performance of Templates: time 0.06029/0.5554, allocations: 26.51 MB / 0.5547 GB, free: 12.06 MB / 394.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.422151718987152]