Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001652/0.001652, 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.002018/0.002018, 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.496/1.496, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.2234/0.2234, allocations: 46.88 MB / 358.1 MB, free: 10.51 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.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") [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.002229/0.002229, allocations: 83.86 kB / 0.4924 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1434, allocations: 65.97 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003393/0.1468, allocations: 1.637 MB / 0.5584 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1478, allocations: 0.5372 MB / 0.5589 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.1479, allocations: 0 / 0.5589 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1482, allocations: 87.64 kB / 0.559 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.1485, allocations: 99.62 kB / 0.5591 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1488, allocations: 95.2 kB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.149, allocations: 83.75 kB / 0.5593 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1491, allocations: 15.98 kB / 0.5593 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.392e-05/0.1492, allocations: 35.91 kB / 0.5593 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1493, allocations: 67.73 kB / 0.5594 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1493, allocations: 4 kB / 0.5594 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.1494, allocations: 39.98 kB / 0.5594 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.1495, allocations: 23.92 kB / 0.5595 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.1495, allocations: 31.75 kB / 0.5595 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1498, allocations: 107.5 kB / 0.5596 GB, free: 3.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1498, allocations: 0 / 0.5596 GB, free: 3.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1498, allocations: 0 / 0.5596 GB, free: 3.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1498, allocations: 0 / 0.5596 GB, free: 3.023 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.000588/0.1504, allocations: 422.7 kB / 0.56 GB, free: 2.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1504, allocations: 8.031 kB / 0.56 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.1504, allocations: 12.84 kB / 0.56 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1507, allocations: 200.9 kB / 0.5602 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1507, allocations: 4.375 kB / 0.5602 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1507, allocations: 4.375 kB / 0.5602 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1509, allocations: 58.17 kB / 0.5603 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1509, allocations: 192 / 0.5603 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1509, allocations: 11.94 kB / 0.5603 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1509, allocations: 0 / 0.5603 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.151, allocations: 27.97 kB / 0.5603 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1514, allocations: 292.8 kB / 0.5606 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1515, allocations: 46.5 kB / 0.5606 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.1516, allocations: 20.94 kB / 0.5607 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1516, allocations: 0 / 0.5607 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1516, allocations: 34.56 kB / 0.5607 GB, free: 1.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1516, allocations: 0 / 0.5607 GB, free: 1.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000953/0.1526, allocations: 217.3 kB / 0.5609 GB, free: 1.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1526, allocations: 59.41 kB / 0.561 GB, free: 1.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1529, allocations: 210.3 kB / 0.5612 GB, free: 1.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1529, allocations: 25.7 kB / 0.5612 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.153, allocations: 108 kB / 0.5613 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.153, allocations: 27.8 kB / 0.5613 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.153, allocations: 21.72 kB / 0.5613 GB, free: 1.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1532, allocations: 330.8 kB / 0.5616 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.1533, allocations: 27.91 kB / 0.5617 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.1533, allocations: 32.05 kB / 0.5617 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1535, allocations: 64.98 kB / 0.5618 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1535, allocations: 0 / 0.5618 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002107/0.1537, allocations: 101.6 kB / 0.5619 GB, free: 484 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1537, allocations: 8 kB / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1537, allocations: 4 kB / 0.5619 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1537, allocations: 432 / 0.5619 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1538, allocations: 23.92 kB / 0.5619 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1539, allocations: 0 / 0.5619 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.1539, allocations: 7.984 kB / 0.5619 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1539, allocations: 4 kB / 0.5619 GB, free: 436 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.0001182/0.154, allocations: 133.7 kB / 0.562 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.1541, allocations: 15.91 kB / 0.5621 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.1543, allocations: 119 kB / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1543, allocations: 0 / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1543, allocations: 0 / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1544, allocations: 0 / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.1549, allocations: 415.1 kB / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1549, allocations: 4.031 kB / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.155, allocations: 19.98 kB / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.155, allocations: 0 / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.155, allocations: 7.938 kB / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.155, allocations: 0 / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.155, allocations: 0 / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.1553, allocations: 208.2 kB / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.1553, allocations: 89.02 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1554, allocations: 7.938 kB / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1554, allocations: 7.984 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1555, allocations: 4 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1555, allocations: 0 / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1556, allocations: 168.2 kB / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1556, allocations: 0 / 0.5631 GB, free: 15.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1559, allocations: 23.98 kB / 0.5631 GB, free: 15.11 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.001658/0.1576, allocations: 463.4 kB / 0.5635 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1578, allocations: 67.89 kB / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1578, allocations: 0 / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.1579, allocations: 31.97 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1583, allocations: 23.92 kB / 0.5636 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.1589, allocations: 280.3 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1593, allocations: 0.7119 MB / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.1593, allocations: 19.44 kB / 0.5646 GB, free: 13.64 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1593, allocations: 0 / 0.5646 GB, free: 13.64 MB / 430.1 MB Notification: Performance of Templates: time 0.00387/0.1632, allocations: 1.762 MB / 0.5663 GB, free: 11.88 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.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.961704513058066]