Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001574/0.001574, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001651/0.001651, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.498/1.498, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2533/0.2533, allocations: 46.89 MB / 358.1 MB, free: 10.53 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") [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.002278/0.002278, allocations: 83.86 kB / 0.4924 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 65.98 MB / 0.5568 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003055/0.144, allocations: 1.602 MB / 0.5584 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1459, allocations: 1.182 MB / 0.5595 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.1459, allocations: 0 / 0.5595 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1462, allocations: 23.78 kB / 0.5596 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1465, allocations: 87.61 kB / 0.5596 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1469, allocations: 79.03 kB / 0.5597 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.147, allocations: 75.75 kB / 0.5598 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1471, allocations: 8 kB / 0.5598 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.1472, allocations: 23.92 kB / 0.5598 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1473, allocations: 39.83 kB / 0.5599 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1473, allocations: 4 kB / 0.5599 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1475, allocations: 103.9 kB / 0.56 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.1476, allocations: 15.92 kB / 0.56 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1476, allocations: 15.88 kB / 0.56 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1479, allocations: 151.4 kB / 0.5601 GB, free: 2.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1479, allocations: 0 / 0.5601 GB, free: 2.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1479, allocations: 0 / 0.5601 GB, free: 2.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1479, allocations: 0 / 0.5601 GB, free: 2.535 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.0005675/0.1485, allocations: 402.8 kB / 0.5605 GB, free: 2.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1485, allocations: 16.03 kB / 0.5605 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.1485, allocations: 8.891 kB / 0.5605 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1488, allocations: 188.3 kB / 0.5607 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1488, allocations: 384 / 0.5607 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1488, allocations: 8.375 kB / 0.5607 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.149, allocations: 63.89 kB / 0.5608 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.149, allocations: 192 / 0.5608 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.149, allocations: 3.938 kB / 0.5608 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.149, allocations: 4 kB / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.1491, allocations: 19.98 kB / 0.5608 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1496, allocations: 284.9 kB / 0.5611 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1498, allocations: 46.44 kB / 0.5611 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.1498, allocations: 16.94 kB / 0.5612 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1499, allocations: 8 kB / 0.5612 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1499, allocations: 30.56 kB / 0.5612 GB, free: 1.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1499, allocations: 0 / 0.5612 GB, free: 1.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005763/0.1505, allocations: 137.4 kB / 0.5613 GB, free: 1.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1505, allocations: 77.11 kB / 0.5614 GB, free: 1.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1507, allocations: 152.2 kB / 0.5615 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1507, allocations: 33.64 kB / 0.5616 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.1508, allocations: 88.14 kB / 0.5617 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1508, allocations: 23.8 kB / 0.5617 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1508, allocations: 17.7 kB / 0.5617 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.151, allocations: 322.8 kB / 0.562 GB, free: 404 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1511, allocations: 15.98 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.251e-05/0.1512, allocations: 41.69 kB / 0.5621 GB, free: 340 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1513, allocations: 44.78 kB / 0.5621 GB, free: 292 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1513, allocations: 0 / 0.5621 GB, free: 292 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00019/0.1515, allocations: 81.61 kB / 0.5622 GB, free: 204 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1515, allocations: 4 kB / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1515, allocations: 4.25 kB / 0.5622 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1515, allocations: 3.938 kB / 0.5622 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.1516, allocations: 20.02 kB / 0.5622 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1516, allocations: 0 / 0.5622 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1517, allocations: 4 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1517, allocations: 8 kB / 0.5622 GB, free: 160 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 8.89e-05/0.1518, allocations: 109.8 kB / 0.5623 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1518, allocations: 19.88 kB / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.152, allocations: 89.97 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.152, allocations: 0 / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.152, allocations: 0 / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1521, allocations: 4 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1525, allocations: 350.4 kB / 0.5628 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1525, allocations: 0 / 0.5628 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.1525, allocations: 11.98 kB / 0.5628 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1525, allocations: 0 / 0.5628 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1526, allocations: 0 / 0.5628 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1526, allocations: 8 kB / 0.5628 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1526, allocations: 3.938 kB / 0.5628 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1528, allocations: 175.8 kB / 0.563 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.1529, allocations: 85.06 kB / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1529, allocations: 3.984 kB / 0.563 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1529, allocations: 7.984 kB / 0.563 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.153, allocations: 15.88 kB / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.153, allocations: 0 / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1531, allocations: 115.2 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1531, allocations: 0 / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1534, allocations: 35.88 kB / 0.5632 GB, free: 15.03 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.001753/0.1551, allocations: 0.4917 MB / 0.5637 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1554, allocations: 43.97 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1554, allocations: 4 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.1554, allocations: 31.91 kB / 0.5638 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1558, allocations: 17.39 kB / 0.5638 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.1563, allocations: 191.2 kB / 0.564 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1566, allocations: 0.6885 MB / 0.5646 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.1567, allocations: 23.42 kB / 0.5647 GB, free: 13.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1567, allocations: 0 / 0.5647 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Templates: time 0.004278/0.161, allocations: 1.924 MB / 0.5665 GB, free: 11.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.301613381132483]