Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.001281/0.001281, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001455/0.001455, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.505/1.505, allocations: 230.2 MB / 255.2 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2648/0.2648, allocations: 46.89 MB / 358.1 MB, free: 10.5 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-beta.om/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.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 79.88 kB / 0.4924 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1331, allocations: 65.98 MB / 0.5569 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003665/0.1368, allocations: 1.697 MB / 0.5585 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1387, allocations: 1.011 MB / 0.5595 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1388, allocations: 3.938 kB / 0.5595 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.1392, allocations: 63.78 kB / 0.5596 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.1396, allocations: 111.5 kB / 0.5597 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1399, allocations: 71.67 kB / 0.5598 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1401, allocations: 103.7 kB / 0.5599 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.238e-05/0.1402, allocations: 12.2 kB / 0.5599 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1403, allocations: 51.78 kB / 0.5599 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1405, allocations: 47.77 kB / 0.56 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1405, allocations: 4 kB / 0.56 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1406, allocations: 31.98 kB / 0.56 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.1407, allocations: 19.92 kB / 0.56 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.1407, allocations: 35.73 kB / 0.5601 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.141, allocations: 103.5 kB / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.141, allocations: 0 / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.141, allocations: 3.938 kB / 0.5602 GB, free: 2.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.141, allocations: 0 / 0.5602 GB, free: 2.469 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006609/0.1416, allocations: 422.7 kB / 0.5606 GB, free: 2.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1417, allocations: 8.031 kB / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.1417, allocations: 12.84 kB / 0.5606 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.1421, allocations: 208.9 kB / 0.5608 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1421, allocations: 4.375 kB / 0.5608 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1421, allocations: 4.375 kB / 0.5608 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1423, allocations: 53.92 kB / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1423, allocations: 0 / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1423, allocations: 0 / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1423, allocations: 8 kB / 0.5608 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.45e-05/0.1424, allocations: 12 kB / 0.5609 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.1426, allocations: 185.6 kB / 0.561 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1428, allocations: 50.61 kB / 0.5611 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.1428, allocations: 20.84 kB / 0.5611 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1429, allocations: 4 kB / 0.5611 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.143, allocations: 71.27 kB / 0.5612 GB, free: 1.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.143, allocations: 0 / 0.5612 GB, free: 1.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003109/0.1433, allocations: 93.62 kB / 0.5613 GB, free: 1.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1434, allocations: 51.41 kB / 0.5613 GB, free: 1.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1436, allocations: 190.4 kB / 0.5615 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1436, allocations: 33.64 kB / 0.5615 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.1437, allocations: 112.1 kB / 0.5616 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1438, allocations: 7.906 kB / 0.5616 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1438, allocations: 25.7 kB / 0.5617 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.144, allocations: 322.8 kB / 0.562 GB, free: 400 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.144, allocations: 12 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.1441, allocations: 33.69 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1442, allocations: 45.7 kB / 0.5621 GB, free: 296 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1442, allocations: 0 / 0.5621 GB, free: 296 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001799/0.1444, allocations: 89.78 kB / 0.5621 GB, free: 200 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1444, allocations: 6.031 kB / 0.5621 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1444, allocations: 4 kB / 0.5622 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1444, allocations: 4 kB / 0.5622 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.1445, allocations: 11.98 kB / 0.5622 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1445, allocations: 0 / 0.5622 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.1446, allocations: 4.031 kB / 0.5622 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1446, allocations: 8 kB / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001222/0.1447, allocations: 127.1 kB / 0.5623 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1447, allocations: 23.81 kB / 0.5623 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.1448, allocations: 13 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1448, allocations: 0 / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1448, allocations: 0 / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1448, allocations: 0 / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.145, allocations: 189.6 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.145, allocations: 0 / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.145, allocations: 11.94 kB / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.145, allocations: 0 / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.145, allocations: 0 / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.145, allocations: 4 kB / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.145, allocations: 0 / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1452, allocations: 105.1 kB / 0.5626 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.1453, allocations: 92.94 kB / 0.5627 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1453, allocations: 3.984 kB / 0.5627 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.1453, allocations: 4 kB / 0.5627 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1454, allocations: 4 kB / 0.5627 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1454, allocations: 0 / 0.5627 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1455, allocations: 156.2 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1455, allocations: 0 / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.1458, allocations: 20 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001516/0.1473, allocations: 397.2 kB / 0.5633 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1474, allocations: 43.97 kB / 0.5633 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1474, allocations: 7.938 kB / 0.5633 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.1475, allocations: 12 kB / 0.5633 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1478, allocations: 30.2 kB / 0.5634 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.1484, allocations: 239.6 kB / 0.5636 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1487, allocations: 0.7041 MB / 0.5643 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.1488, allocations: 15.44 kB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1488, allocations: 0 / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of Templates: time 0.004436/0.1532, allocations: 1.74 MB / 0.566 GB, free: 12.24 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.805067137116566]