Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001781/0.001781, 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.002183/0.002183, 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.533/1.533, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.2356/0.2356, 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.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") [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.002279/0.002279, allocations: 79.88 kB / 0.4924 GB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1423, allocations: 65.99 MB / 0.5568 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003314/0.1456, allocations: 1.602 MB / 0.5584 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1475, allocations: 1.167 MB / 0.5595 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.1476, allocations: 4 kB / 0.5595 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1478, allocations: 27.78 kB / 0.5596 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1482, allocations: 83.61 kB / 0.5596 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1485, allocations: 87.03 kB / 0.5597 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1486, allocations: 75.75 kB / 0.5598 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1487, allocations: 8 kB / 0.5598 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.1488, allocations: 19.92 kB / 0.5598 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.149, allocations: 43.77 kB / 0.5599 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.149, allocations: 4 kB / 0.5599 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1492, allocations: 95.94 kB / 0.56 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.1492, allocations: 19.92 kB / 0.56 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.1493, allocations: 15.88 kB / 0.56 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1495, allocations: 147.4 kB / 0.5601 GB, free: 2.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1495, allocations: 0 / 0.5601 GB, free: 2.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1495, allocations: 4 kB / 0.5601 GB, free: 2.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1496, allocations: 0 / 0.5601 GB, free: 2.504 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.0005761/0.1501, allocations: 402.8 kB / 0.5605 GB, free: 2.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1502, allocations: 12.03 kB / 0.5605 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.1502, allocations: 4.891 kB / 0.5605 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1505, allocations: 192.3 kB / 0.5607 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1505, allocations: 384 / 0.5607 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1505, allocations: 384 / 0.5607 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1507, allocations: 71.89 kB / 0.5608 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1507, allocations: 4.188 kB / 0.5608 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1507, allocations: 3.938 kB / 0.5608 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1507, allocations: 4 kB / 0.5608 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.1508, allocations: 19.98 kB / 0.5608 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.1512, allocations: 284.9 kB / 0.5611 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1515, allocations: 54.42 kB / 0.5611 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.1515, allocations: 12.94 kB / 0.5612 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1515, allocations: 4 kB / 0.5612 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1516, allocations: 34.56 kB / 0.5612 GB, free: 1.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1516, allocations: 0 / 0.5612 GB, free: 1.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005869/0.1521, allocations: 141.4 kB / 0.5613 GB, free: 1.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.1522, allocations: 77.11 kB / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1524, allocations: 145.8 kB / 0.5615 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1524, allocations: 29.64 kB / 0.5616 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.1525, allocations: 92.14 kB / 0.5617 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1525, allocations: 23.8 kB / 0.5617 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1525, allocations: 17.7 kB / 0.5617 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1527, allocations: 322.8 kB / 0.562 GB, free: 368 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.1527, allocations: 19.98 kB / 0.562 GB, free: 348 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1528, allocations: 33.69 kB / 0.562 GB, free: 308 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.153, allocations: 48.78 kB / 0.5621 GB, free: 256 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.153, allocations: 3.984 kB / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001966/0.1532, allocations: 81.66 kB / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1532, allocations: 4 kB / 0.5622 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1532, allocations: 3.984 kB / 0.5622 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1532, allocations: 0 / 0.5622 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.1533, allocations: 19.92 kB / 0.5622 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1533, allocations: 0 / 0.5622 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1534, allocations: 4 kB / 0.5622 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1534, allocations: 0 / 0.5622 GB, free: 132 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 (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 0.0001197/0.1535, allocations: 125.9 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.1535, allocations: 11.94 kB / 0.5623 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.1538, allocations: 90.22 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1538, allocations: 0 / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1538, allocations: 4.062 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1538, allocations: 0 / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.1542, allocations: 354.4 kB / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1542, allocations: 0 / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1543, allocations: 15.98 kB / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1543, allocations: 0 / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1543, allocations: 0 / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1543, allocations: 0 / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1543, allocations: 0 / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1546, allocations: 183.4 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.1546, allocations: 89 kB / 0.563 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1546, allocations: 4 kB / 0.563 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.1547, allocations: 7.984 kB / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1547, allocations: 7.938 kB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1547, allocations: 0 / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1548, allocations: 117.4 kB / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1548, allocations: 0 / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1551, allocations: 35.88 kB / 0.5632 GB, free: 14.99 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.001788/0.1569, allocations: 492.9 kB / 0.5637 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1571, allocations: 43.97 kB / 0.5637 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1571, allocations: 0 / 0.5637 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.1572, allocations: 32.03 kB / 0.5638 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1576, allocations: 23.03 kB / 0.5638 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.1581, allocations: 207.2 kB / 0.564 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1584, allocations: 0.6885 MB / 0.5646 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.1585, allocations: 19.42 kB / 0.5647 GB, free: 13.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1585, allocations: 0 / 0.5647 GB, free: 13.62 MB / 430.1 MB Notification: Performance of Templates: time 0.004159/0.1626, allocations: 1.928 MB / 0.5665 GB, free: 11.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.000213955994695]