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.001397/0.001397, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.001689/0.001689, allocations: 172.5 kB / 23.22 MB, free: 4.887 MB / 14.72 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.509/1.509, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 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.2539/0.2539, allocations: 32.37 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] 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.605e-06/2.605e-06, allocations: 0 / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.839e-05, allocations: 2.281 kB / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01699/0.01702, allocations: 8.35 MB / 415.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.02932, allocations: 3.423 MB / 419.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.03232, allocations: 59.75 kB / 419.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004863/0.03719, allocations: 1.736 MB / 420.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00576/0.04295, allocations: 1.745 MB / 422.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.04474, allocations: 0.608 MB / 423.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007322/0.05207, allocations: 3.863 MB / 427.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/0.05583, allocations: 2.176 MB / 429.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.05942, allocations: 1.785 MB / 431.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003479/0.0629, allocations: 1.796 MB / 432.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008026/0.06371, allocations: 244 kB / 433.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.06645, allocations: 1.073 MB / 434.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.06875, allocations: 1.62 MB / 435.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.07042, allocations: 0.9734 MB / 436.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.08048, allocations: 5.856 MB / 442.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.08049, allocations: 0 / 442.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.08049, allocations: 0 / 442.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001848/0.08068, allocations: 7.938 kB / 442.7 MB, free: 15.55 MB / 382.1 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.01067/0.09135, allocations: 3.9 MB / 446.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.0914, allocations: 8.031 kB / 446.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/0.1096, allocations: 2.46 MB / 449 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006727/0.1163, allocations: 2.235 MB / 451.3 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.1165, allocations: 168.7 kB / 451.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009524/0.1175, allocations: 236.2 kB / 451.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.1352, allocations: 7.933 MB / 459.6 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/0.1353, allocations: 47.62 kB / 459.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005834/0.1359, allocations: 111.9 kB / 459.7 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004994/0.1409, allocations: 1.664 MB / 461.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/0.1617, allocations: 6.727 MB / 468.1 MB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3525/0.5142, allocations: 29.65 MB / 497.8 MB, free: 43.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006113/0.5203, allocations: 1.865 MB / 499.7 MB, free: 42.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.5221, allocations: 1.093 MB / 0.489 GB, free: 42.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.5225, allocations: 86.3 kB / 0.4891 GB, free: 42.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.5225, allocations: 49.41 kB / 0.4891 GB, free: 42.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=117): time 3.626e-06/0.5225, allocations: 1.641 kB / 0.4891 GB, free: 42.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=141): time 0.03857/0.5611, allocations: 12.63 MB / 0.5015 GB, free: 37.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.5612, allocations: 199 kB / 0.5017 GB, free: 37.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/0.5655, allocations: 3.576 MB / 0.5052 GB, free: 35.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.5658, allocations: 51.48 kB / 0.5052 GB, free: 35.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.5671, allocations: 2.772 MB / 0.5079 GB, free: 32.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005513/0.5677, allocations: 0.5711 MB / 0.5085 GB, free: 32.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.5689, allocations: 1.109 MB / 0.5096 GB, free: 31.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.569, allocations: 309.1 kB / 0.5099 GB, free: 31.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.5712, allocations: 1.807 MB / 0.5116 GB, free: 29.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/0.5751, allocations: 5.303 MB / 0.5168 GB, free: 22.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006968/0.5821, allocations: 7.622 MB / 0.5242 GB, free: 12.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/0.5822, allocations: 36 kB / 0.5243 GB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01243/0.5946, allocations: 7.263 MB / 0.5314 GB, free: 5.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/0.5947, allocations: 57 kB / 0.5314 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/0.5949, allocations: 124 kB / 0.5315 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.5965, allocations: 0.6526 MB / 0.5322 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/0.6002, allocations: 1.263 MB / 0.5334 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.6047, allocations: 3.925 MB / 0.5372 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/0.61, allocations: 343.6 kB / 0.5376 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009271/0.6109, allocations: 340 kB / 0.5379 GB, free: 14.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (684): * Single equations (assignments): 680 * 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.004441/0.6154, allocations: 1.779 MB / 0.5396 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/0.6166, allocations: 301 kB / 0.5399 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/0.6217, allocations: 2.172 MB / 0.542 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/0.6217, allocations: 16 kB / 0.5421 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.6217, allocations: 4 kB / 0.5421 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.6218, allocations: 7.984 kB / 0.5421 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.6349, allocations: 5.125 MB / 0.5471 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.6349, allocations: 0 / 0.5471 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.6361, allocations: 211.7 kB / 0.5473 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.6377, allocations: 488.3 kB / 0.5477 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.6379, allocations: 34.14 kB / 0.5478 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005804/0.6437, allocations: 3.304 MB / 0.551 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.6437, allocations: 11.88 kB / 0.551 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008391/0.6521, allocations: 4.319 MB / 0.5552 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/0.6541, allocations: 485.8 kB / 0.5557 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009736/0.6551, allocations: 27.94 kB / 0.5557 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/0.6573, allocations: 107.8 kB / 0.5558 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.6576, allocations: 80.5 kB / 0.5559 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.6577, allocations: 39.98 kB / 0.5559 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00513/0.6628, allocations: 2.084 MB / 0.558 GB, free: 10.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6628, allocations: 0 / 0.558 GB, free: 10.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007065/0.6699, allocations: 0.91 MB / 0.5589 GB, free: 9.238 MB / 430.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 (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.0008105/0.6707, allocations: 170.7 kB / 0.559 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008921/0.6796, allocations: 4.145 MB / 0.5631 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.6796, allocations: 0 / 0.5631 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.6818, allocations: 1.101 MB / 0.5641 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/0.6855, allocations: 332.1 kB / 0.5645 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.7043, allocations: 7.52 MB / 0.5718 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/0.7083, allocations: 2.21 MB / 0.574 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004571/0.7129, allocations: 1.708 MB / 0.5756 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008418/0.7137, allocations: 204.5 kB / 0.5758 GB, free: 7.797 MB / 446.1 MB Notification: Performance of SimCode: time 2.124e-06/0.7137, allocations: 3.938 kB / 0.5758 GB, free: 7.793 MB / 446.1 MB Notification: Performance of Templates: time 0.06227/0.776, allocations: 24.78 MB / 0.6 GB, free: 15.14 MB / 478.1 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: 7.140261679887772]