Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001698/0.001698, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001514/0.001514, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.521/1.521, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.2387/0.2387, allocations: 46.89 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3") [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.002218/0.002218, allocations: 83.86 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1526, allocations: 65.98 MB / 0.5568 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003418/0.156, allocations: 1.624 MB / 0.5584 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1571, allocations: 0.5566 MB / 0.559 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1572, allocations: 0 / 0.559 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.1575, allocations: 75.72 kB / 0.559 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1578, allocations: 99.64 kB / 0.5591 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1582, allocations: 123.1 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1584, allocations: 79.77 kB / 0.5593 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1585, allocations: 11.98 kB / 0.5593 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.79e-05/0.1586, allocations: 35.89 kB / 0.5594 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1587, allocations: 55.77 kB / 0.5594 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1587, allocations: 0 / 0.5594 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1588, allocations: 47.98 kB / 0.5595 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.1589, allocations: 19.92 kB / 0.5595 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.1589, allocations: 43.66 kB / 0.5595 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1591, allocations: 95.59 kB / 0.5596 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1591, allocations: 0 / 0.5596 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1591, allocations: 0 / 0.5596 GB, free: 3.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1592, allocations: 0 / 0.5596 GB, free: 3.059 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006195/0.1598, allocations: 418.7 kB / 0.56 GB, free: 2.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1598, allocations: 12.03 kB / 0.56 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1599, allocations: 12.84 kB / 0.56 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1601, allocations: 196.2 kB / 0.5602 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1601, allocations: 4.375 kB / 0.5602 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1601, allocations: 12.31 kB / 0.5602 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1603, allocations: 46.25 kB / 0.5603 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1603, allocations: 4.188 kB / 0.5603 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1603, allocations: 3.938 kB / 0.5603 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1604, allocations: 11.97 kB / 0.5603 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1605, allocations: 27.98 kB / 0.5603 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.1609, allocations: 308.7 kB / 0.5606 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.161, allocations: 46.5 kB / 0.5607 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.1611, allocations: 16.94 kB / 0.5607 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1611, allocations: 0 / 0.5607 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.1612, allocations: 38.56 kB / 0.5607 GB, free: 1.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 2.795e-06/0.1612, allocations: 4 kB / 0.5607 GB, free: 1.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009719/0.1621, allocations: 229.2 kB / 0.5609 GB, free: 1.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.1622, allocations: 51.41 kB / 0.561 GB, free: 1.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1625, allocations: 201.5 kB / 0.5612 GB, free: 1.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1625, allocations: 33.64 kB / 0.5612 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1626, allocations: 112.1 kB / 0.5613 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1626, allocations: 31.67 kB / 0.5614 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.1627, allocations: 21.72 kB / 0.5614 GB, free: 1.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1629, allocations: 326.8 kB / 0.5617 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.163, allocations: 28.06 kB / 0.5617 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/0.1631, allocations: 31.95 kB / 0.5617 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.1633, allocations: 81.05 kB / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1633, allocations: 0 / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002537/0.1635, allocations: 109.6 kB / 0.5619 GB, free: 468 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1635, allocations: 8 kB / 0.5619 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1635, allocations: 0 / 0.5619 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1636, allocations: 0 / 0.5619 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1637, allocations: 23.92 kB / 0.562 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1637, allocations: 0 / 0.562 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.1637, allocations: 4 kB / 0.562 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1637, allocations: 4 kB / 0.562 GB, free: 428 kB / 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 (8): * Single equations (assignments): 8 * 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.0001451/0.1639, allocations: 133.8 kB / 0.5621 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1639, allocations: 11.91 kB / 0.5621 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.1643, allocations: 131 kB / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1643, allocations: 0 / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1643, allocations: 0 / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1643, allocations: 7.938 kB / 0.5622 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.1649, allocations: 423.2 kB / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1649, allocations: 0 / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.165, allocations: 15.98 kB / 0.5627 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.165, allocations: 4 kB / 0.5627 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.165, allocations: 7.938 kB / 0.5627 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.165, allocations: 0 / 0.5627 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.165, allocations: 4.031 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.1654, allocations: 224.2 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.1654, allocations: 81.06 kB / 0.563 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1654, allocations: 8.359 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1655, allocations: 0 / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1656, allocations: 15.98 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-06/0.1656, allocations: 4 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1657, allocations: 152.9 kB / 0.5631 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1657, allocations: 0 / 0.5631 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.166, allocations: 23.94 kB / 0.5632 GB, free: 15.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001703/0.1677, allocations: 448.6 kB / 0.5636 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.168, allocations: 75.86 kB / 0.5637 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.168, allocations: 0 / 0.5637 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1681, allocations: 43.91 kB / 0.5637 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.1685, allocations: 31.97 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.1692, allocations: 288.7 kB / 0.564 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1695, allocations: 0.7086 MB / 0.5647 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.1696, allocations: 15.44 kB / 0.5647 GB, free: 13.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1696, allocations: 0 / 0.5647 GB, free: 13.59 MB / 430.1 MB Notification: Performance of Templates: time 0.004258/0.1738, allocations: 1.789 MB / 0.5665 GB, free: 11.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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: 8.043105743126944]