Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001339/0.001339, allocations: 113.8 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.001425/0.001425, allocations: 208.9 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.494/1.494, allocations: 230.2 MB / 255.2 MB, free: 15.38 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.229/0.229, allocations: 46.89 MB / 358.1 MB, free: 10.6 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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17") [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.002282/0.002282, allocations: 83.84 kB / 0.4924 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1395, allocations: 65.98 MB / 0.5568 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.00354/0.143, allocations: 1.66 MB / 0.5584 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.144, allocations: 0.6958 MB / 0.5591 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.1441, allocations: 4 kB / 0.5591 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1443, allocations: 23.91 kB / 0.5591 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1445, allocations: 39.83 kB / 0.5592 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.1445, allocations: 0 / 0.5592 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1447, allocations: 31.89 kB / 0.5592 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1448, allocations: 3.938 kB / 0.5592 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.1448, allocations: 11.92 kB / 0.5592 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.1449, allocations: 23.92 kB / 0.5592 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1449, allocations: 4 kB / 0.5592 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.1449, allocations: 4 kB / 0.5592 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.145, allocations: 23.92 kB / 0.5593 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.145, allocations: 23.8 kB / 0.5593 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1452, allocations: 67.62 kB / 0.5594 GB, free: 3.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1452, allocations: 0 / 0.5594 GB, free: 3.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1452, allocations: 0 / 0.5594 GB, free: 3.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1452, allocations: 0 / 0.5594 GB, free: 3.316 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004562/0.1457, allocations: 375.1 kB / 0.5597 GB, free: 2.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1457, allocations: 12.03 kB / 0.5597 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1457, allocations: 4.891 kB / 0.5597 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1459, allocations: 168.3 kB / 0.5599 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1459, allocations: 384 / 0.5599 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1459, allocations: 8.359 kB / 0.5599 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1461, allocations: 129.5 kB / 0.56 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1461, allocations: 192 / 0.56 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1461, allocations: 3.938 kB / 0.56 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.1462, allocations: 27.92 kB / 0.5601 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.1463, allocations: 47.84 kB / 0.5601 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.147, allocations: 0.8907 MB / 0.561 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.1471, allocations: 165.1 kB / 0.5611 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.1472, allocations: 80.14 kB / 0.5612 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.1472, allocations: 87.22 kB / 0.5613 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/0.1473, allocations: 109.8 kB / 0.5614 GB, free: 1.027 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1473, allocations: 96 / 0.5614 GB, free: 1.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.155e-05/0.1473, allocations: 41.55 kB / 0.5614 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.1474, allocations: 126.7 kB / 0.5616 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1476, allocations: 182.2 kB / 0.5617 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1476, allocations: 25.7 kB / 0.5617 GB, free: 0.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1477, allocations: 159.5 kB / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.1477, allocations: 0 / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.1478, allocations: 49.59 kB / 0.5619 GB, free: 420 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.148, allocations: 322.8 kB / 0.5623 GB, free: 88 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.148, allocations: 27.98 kB / 0.5623 GB, free: 60 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1482, allocations: 157.1 kB / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1484, allocations: 204.9 kB / 0.5626 GB, free: 15.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1484, allocations: 0 / 0.5626 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003277/0.1488, allocations: 205.4 kB / 0.5628 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1488, allocations: 11.98 kB / 0.5628 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1488, allocations: 4 kB / 0.5628 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1488, allocations: 8 kB / 0.5628 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.149, allocations: 35.92 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.149, allocations: 8 kB / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.1491, allocations: 23.83 kB / 0.5629 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1491, allocations: 8 kB / 0.5629 GB, free: 15.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001491/0.1492, allocations: 213.3 kB / 0.5631 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.1493, allocations: 120.9 kB / 0.5632 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/0.1494, allocations: 124.6 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-05/0.1495, allocations: 180.2 kB / 0.5635 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.317e-05/0.1495, allocations: 176.3 kB / 0.5637 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.262e-05/0.1496, allocations: 180.3 kB / 0.5639 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.1499, allocations: 425.1 kB / 0.5643 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-05/0.15, allocations: 112.9 kB / 0.5644 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.15, allocations: 108.9 kB / 0.5645 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/0.1501, allocations: 176.3 kB / 0.5647 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/0.1502, allocations: 180.2 kB / 0.5648 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000101/0.1503, allocations: 188.2 kB / 0.565 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.825e-05/0.1504, allocations: 176.3 kB / 0.5652 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1507, allocations: 319.7 kB / 0.5655 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1508, allocations: 194 kB / 0.5657 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.1509, allocations: 192.1 kB / 0.5658 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.151, allocations: 101 kB / 0.5659 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.1511, allocations: 180.2 kB / 0.5661 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.1511, allocations: 109 kB / 0.5662 GB, free: 11.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1512, allocations: 132.1 kB / 0.5663 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1512, allocations: 0 / 0.5663 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1515, allocations: 16 kB / 0.5664 GB, free: 11.53 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 (0): * Single equations (assignments): 0 * 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.0006995/0.1522, allocations: 278.5 kB / 0.5666 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1524, allocations: 71.78 kB / 0.5667 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1524, allocations: 1.25 kB / 0.5667 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.1524, allocations: 0 / 0.5667 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1528, allocations: 474.1 kB / 0.5671 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.1532, allocations: 278.6 kB / 0.5674 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1535, allocations: 0.6967 MB / 0.5681 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1537, allocations: 19.42 kB / 0.5681 GB, free: 9.707 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1537, allocations: 0 / 0.5681 GB, free: 9.707 MB / 430.1 MB Notification: Performance of Templates: time 0.003138/0.1568, allocations: 1.307 MB / 0.5694 GB, free: 8.398 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.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.720719373086467]