Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001614/0.001614, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.002059/0.002059, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.502/1.502, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.2423/0.2423, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7") [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.002222/0.002222, allocations: 83.86 kB / 0.4924 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 65.98 MB / 0.5568 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003236/0.149, allocations: 1.61 MB / 0.5584 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1501, allocations: 0.5411 MB / 0.5589 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.1501, allocations: 4 kB / 0.5589 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1504, allocations: 27.8 kB / 0.5589 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1507, allocations: 79.67 kB / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.151, allocations: 111.2 kB / 0.5591 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1512, allocations: 67.77 kB / 0.5592 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1513, allocations: 4 kB / 0.5592 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.1513, allocations: 27.91 kB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.1514, allocations: 19.86 kB / 0.5592 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1514, allocations: 8 kB / 0.5593 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1515, allocations: 35.98 kB / 0.5593 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.1516, allocations: 15.92 kB / 0.5593 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.1516, allocations: 27.8 kB / 0.5593 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1518, allocations: 83.55 kB / 0.5594 GB, free: 3.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1518, allocations: 0 / 0.5594 GB, free: 3.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1518, allocations: 0 / 0.5594 GB, free: 3.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1518, allocations: 0 / 0.5594 GB, free: 3.238 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005336/0.1524, allocations: 391 kB / 0.5598 GB, free: 2.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1524, allocations: 12.03 kB / 0.5598 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1524, allocations: 8.891 kB / 0.5598 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1527, allocations: 196.2 kB / 0.56 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1527, allocations: 4.375 kB / 0.56 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.1527, allocations: 384 / 0.56 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.1529, allocations: 54.17 kB / 0.56 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1529, allocations: 192 / 0.56 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1529, allocations: 3.938 kB / 0.56 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1529, allocations: 3.938 kB / 0.5601 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.153, allocations: 27.98 kB / 0.5601 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.1535, allocations: 284.9 kB / 0.5604 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1537, allocations: 46.44 kB / 0.5604 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.1537, allocations: 20.94 kB / 0.5604 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1538, allocations: 0 / 0.5604 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1538, allocations: 34.56 kB / 0.5604 GB, free: 2.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.1538, allocations: 3.938 kB / 0.5605 GB, free: 2.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005835/0.1544, allocations: 161.6 kB / 0.5606 GB, free: 1.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1544, allocations: 51.41 kB / 0.5607 GB, free: 1.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1546, allocations: 157.8 kB / 0.5608 GB, free: 1.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1546, allocations: 25.7 kB / 0.5608 GB, free: 1.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.1547, allocations: 104.1 kB / 0.5609 GB, free: 1.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1547, allocations: 15.86 kB / 0.5609 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1547, allocations: 17.72 kB / 0.561 GB, free: 1.438 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1549, allocations: 326.8 kB / 0.5613 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.155, allocations: 19.98 kB / 0.5613 GB, free: 1.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.155, allocations: 19.98 kB / 0.5613 GB, free: 1.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1552, allocations: 56.81 kB / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1552, allocations: 0 / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001958/0.1554, allocations: 89.75 kB / 0.5615 GB, free: 0.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1554, allocations: 4 kB / 0.5615 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1554, allocations: 0 / 0.5615 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1554, allocations: 0 / 0.5615 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.1555, allocations: 19.98 kB / 0.5615 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1555, allocations: 0 / 0.5615 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.1555, allocations: 11.98 kB / 0.5615 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1555, allocations: 0 / 0.5615 GB, free: 0.8828 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 9.659e-05/0.1556, allocations: 121.8 kB / 0.5616 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.1557, allocations: 7.953 kB / 0.5616 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.1559, allocations: 101.8 kB / 0.5617 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1559, allocations: 4 kB / 0.5617 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1559, allocations: 0 / 0.5617 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1559, allocations: 4 kB / 0.5617 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.1564, allocations: 354.5 kB / 0.5621 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1564, allocations: 4 kB / 0.5621 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.1565, allocations: 15.92 kB / 0.5621 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1565, allocations: 0 / 0.5621 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1565, allocations: 0 / 0.5621 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1565, allocations: 3.938 kB / 0.5621 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1565, allocations: 4 kB / 0.5621 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1567, allocations: 183.5 kB / 0.5623 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1568, allocations: 89.11 kB / 0.5623 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1568, allocations: 4.188 kB / 0.5623 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1569, allocations: 15.92 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.1569, allocations: 0 / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1569, allocations: 8 kB / 0.5624 GB, free: 15.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.157, allocations: 130.2 kB / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.157, allocations: 0 / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1572, allocations: 19.94 kB / 0.5625 GB, free: 15.72 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001446/0.1587, allocations: 398.1 kB / 0.5629 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1589, allocations: 47.95 kB / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1589, allocations: 0 / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.159, allocations: 27.98 kB / 0.563 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1593, allocations: 15.98 kB / 0.563 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.1598, allocations: 223.8 kB / 0.5632 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1602, allocations: 0.6924 MB / 0.5639 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.1602, allocations: 15.42 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1602, allocations: 4 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB Notification: Performance of Templates: time 0.003497/0.1637, allocations: 1.478 MB / 0.5653 GB, free: 12.91 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.9332445410545915]