Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.001415/0.001415, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001662/0.001662, allocations: 205.5 kB / 23.74 MB, free: 4.543 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.51/1.51, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.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.2198/0.2198, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 75.89 kB / 468.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1278, allocations: 61.04 MB / 0.5174 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004486/0.1323, allocations: 2.589 MB / 0.5199 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1342, allocations: 0.9357 MB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.1344, allocations: 15.88 kB / 0.5208 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.1346, allocations: 47.5 kB / 0.5209 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1348, allocations: 111 kB / 0.521 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.1353, allocations: 147.6 kB / 0.5211 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.1357, allocations: 374.2 kB / 0.5215 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1359, allocations: 69.31 kB / 0.5215 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1361, allocations: 147.4 kB / 0.5217 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1363, allocations: 131.3 kB / 0.5218 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.1364, allocations: 27.94 kB / 0.5218 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1365, allocations: 40 kB / 0.5219 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.1366, allocations: 67.75 kB / 0.5219 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1367, allocations: 135.4 kB / 0.5221 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.1372, allocations: 386.4 kB / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1372, allocations: 0 / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1372, allocations: 0 / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1372, allocations: 0 / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001051/0.1383, allocations: 0.552 MB / 0.523 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1383, allocations: 8.031 kB / 0.523 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.1385, allocations: 52.69 kB / 0.523 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.1389, allocations: 213.7 kB / 0.5232 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.139, allocations: 25.03 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.139, allocations: 32.31 kB / 0.5233 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.1395, allocations: 306.7 kB / 0.5236 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.1396, allocations: 11.95 kB / 0.5236 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.1396, allocations: 12 kB / 0.5236 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1396, allocations: 4 kB / 0.5236 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.14, allocations: 203.8 kB / 0.5238 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1418, allocations: 1.137 MB / 0.5249 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.1423, allocations: 325 kB / 0.5252 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1425, allocations: 100.6 kB / 0.5253 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1425, allocations: 7.938 kB / 0.5253 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.1426, allocations: 46.5 kB / 0.5254 GB, free: 14.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.823e-06/0.1426, allocations: 0 / 0.5254 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002485/0.1451, allocations: 1.208 MB / 0.5265 GB, free: 12.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.1452, allocations: 158.2 kB / 0.5267 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1454, allocations: 216.9 kB / 0.5269 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.1455, allocations: 33.7 kB / 0.5269 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1456, allocations: 192.4 kB / 0.5271 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1457, allocations: 154.7 kB / 0.5273 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1459, allocations: 82.19 kB / 0.5273 GB, free: 12.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.146, allocations: 338.8 kB / 0.5277 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.1462, allocations: 96.95 kB / 0.5278 GB, free: 11.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.1465, allocations: 250.9 kB / 0.528 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.147, allocations: 370 kB / 0.5283 GB, free: 10.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.147, allocations: 0 / 0.5283 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006513/0.1477, allocations: 417 kB / 0.5287 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1477, allocations: 8 kB / 0.5287 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1477, allocations: 4 kB / 0.5288 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1478, allocations: 8 kB / 0.5288 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.1482, allocations: 115.8 kB / 0.5289 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.1482, allocations: 7.938 kB / 0.5289 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1484, allocations: 27.88 kB / 0.5289 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.1484, allocations: 20 kB / 0.5289 GB, free: 10.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.1486, allocations: 158 kB / 0.5291 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1487, allocations: 35.81 kB / 0.5291 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.1489, allocations: 119.3 kB / 0.5292 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1489, allocations: 4 kB / 0.5292 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.149, allocations: 3.938 kB / 0.5292 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.149, allocations: 4 kB / 0.5292 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.1505, allocations: 0.932 MB / 0.5301 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.1505, allocations: 4 kB / 0.5301 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.1509, allocations: 95.89 kB / 0.5302 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.1509, allocations: 4 kB / 0.5302 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.151, allocations: 19.98 kB / 0.5303 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.151, allocations: 7.938 kB / 0.5303 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.151, allocations: 4 kB / 0.5303 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009113/0.1519, allocations: 0.83 MB / 0.5311 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1519, allocations: 39.95 kB / 0.5311 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.152, allocations: 16 kB / 0.5311 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.1523, allocations: 8 kB / 0.5311 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.1523, allocations: 35.83 kB / 0.5312 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.1523, allocations: 16 kB / 0.5312 GB, free: 7.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1525, allocations: 148.5 kB / 0.5313 GB, free: 7.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1525, allocations: 0 / 0.5313 GB, free: 7.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005759/0.1531, allocations: 88 kB / 0.5314 GB, free: 7.578 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.1532, allocations: 107.1 kB / 0.5315 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.1537, allocations: 276.1 kB / 0.5318 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1537, allocations: 0 / 0.5318 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1539, allocations: 121 kB / 0.5319 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.1547, allocations: 77 kB / 0.532 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1568, allocations: 1.284 MB / 0.5332 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.157, allocations: 185.9 kB / 0.5334 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.1571, allocations: 31.44 kB / 0.5334 GB, free: 5.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1571, allocations: 0 / 0.5334 GB, free: 5.418 MB / 414.1 MB Notification: Performance of Templates: time 0.00713/0.1643, allocations: 4.106 MB / 0.5374 GB, free: 1.316 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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.847423703875393]