Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001269/0.001269, allocations: 111.8 kB / 19.17 MB, free: 3.871 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.001444/0.001444, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.479/1.479, allocations: 230.2 MB / 255.1 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.2589/0.2589, 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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.002233/0.002233, allocations: 80.16 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1304, allocations: 65.99 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003771/0.1341, allocations: 2.053 MB / 0.5588 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1363, allocations: 1.137 MB / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1364, allocations: 0 / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.1369, allocations: 267.1 kB / 0.5602 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.1374, allocations: 271 kB / 0.5604 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1389, allocations: 0.6431 MB / 0.5611 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.1394, allocations: 358.9 kB / 0.5614 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1395, allocations: 64.72 kB / 0.5615 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1397, allocations: 151.4 kB / 0.5616 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.14, allocations: 223.2 kB / 0.5618 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.14, allocations: 12 kB / 0.5618 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1402, allocations: 75.92 kB / 0.5619 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1403, allocations: 107.6 kB / 0.562 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1405, allocations: 130.9 kB / 0.5621 GB, free: 444 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.1409, allocations: 326.4 kB / 0.5624 GB, free: 116 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1409, allocations: 7.938 kB / 0.5625 GB, free: 108 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1409, allocations: 0 / 0.5625 GB, free: 108 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1409, allocations: 0 / 0.5625 GB, free: 108 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008737/0.1418, allocations: 0.6726 MB / 0.5631 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1418, allocations: 9.109 kB / 0.5631 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.1419, allocations: 48.61 kB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1423, allocations: 334.5 kB / 0.5635 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1423, allocations: 8.375 kB / 0.5635 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.1424, allocations: 12.38 kB / 0.5635 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1426, allocations: 126.1 kB / 0.5636 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1427, allocations: 192 / 0.5636 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1427, allocations: 11.94 kB / 0.5636 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1427, allocations: 0 / 0.5636 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.1429, allocations: 91.92 kB / 0.5637 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007383/0.1436, allocations: 0.5042 MB / 0.5642 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1438, allocations: 118.3 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.1439, allocations: 32.84 kB / 0.5644 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.144, allocations: 4 kB / 0.5644 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.144, allocations: 38.55 kB / 0.5644 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.144, allocations: 4 kB / 0.5644 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001065/0.1451, allocations: 448.6 kB / 0.5648 GB, free: 13.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1451, allocations: 55.41 kB / 0.5649 GB, free: 13.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/0.1458, allocations: 0.5643 MB / 0.5654 GB, free: 12.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.1458, allocations: 29.7 kB / 0.5655 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1459, allocations: 208.4 kB / 0.5657 GB, free: 12.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.146, allocations: 63.48 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.1461, allocations: 33.7 kB / 0.5658 GB, free: 12.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1462, allocations: 350.8 kB / 0.5661 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1464, allocations: 71.7 kB / 0.5662 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1465, allocations: 71.89 kB / 0.5662 GB, free: 12.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.1468, allocations: 155 kB / 0.5664 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1468, allocations: 4 kB / 0.5664 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004061/0.1473, allocations: 235.4 kB / 0.5666 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1473, allocations: 4 kB / 0.5666 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1473, allocations: 0 / 0.5666 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1473, allocations: 0 / 0.5666 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1475, allocations: 43.91 kB / 0.5667 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1475, allocations: 0 / 0.5667 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.1475, allocations: 4 kB / 0.5667 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1476, allocations: 8 kB / 0.5667 GB, free: 11.57 MB / 430.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 (17): * Single equations (assignments): 17 * 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.0001923/0.1478, allocations: 181.8 kB / 0.5668 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.1478, allocations: 43.66 kB / 0.5669 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.1484, allocations: 281.5 kB / 0.5671 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1484, allocations: 7.984 kB / 0.5672 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1484, allocations: 4 kB / 0.5672 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1484, allocations: 0 / 0.5672 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.1493, allocations: 0.687 MB / 0.5678 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1493, allocations: 0 / 0.5678 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1494, allocations: 31.98 kB / 0.5679 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1494, allocations: 0 / 0.5679 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1495, allocations: 7.984 kB / 0.5679 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1495, allocations: 3.938 kB / 0.5679 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1495, allocations: 0 / 0.5679 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.1499, allocations: 343 kB / 0.5682 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.15, allocations: 104.9 kB / 0.5683 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.15, allocations: 4 kB / 0.5683 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1501, allocations: 11.92 kB / 0.5683 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1502, allocations: 11.98 kB / 0.5683 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1502, allocations: 11.94 kB / 0.5683 GB, free: 9.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004536/0.1506, allocations: 427.1 kB / 0.5687 GB, free: 9.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1506, allocations: 4 kB / 0.5687 GB, free: 9.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.151, allocations: 51.94 kB / 0.5688 GB, free: 9.266 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 (17): * Single equations (assignments): 17 * 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.002699/0.1537, allocations: 0.681 MB / 0.5695 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.1541, allocations: 162.8 kB / 0.5696 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1541, allocations: 0 / 0.5696 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.1542, allocations: 87.89 kB / 0.5697 GB, free: 8.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1548, allocations: 88.09 kB / 0.5698 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.156, allocations: 0.7496 MB / 0.5705 GB, free: 7.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.1564, allocations: 0.8143 MB / 0.5713 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.1565, allocations: 35.42 kB / 0.5713 GB, free: 6.898 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1565, allocations: 4 kB / 0.5713 GB, free: 6.895 MB / 430.1 MB Notification: Performance of Templates: time 0.00785/0.1644, allocations: 4.819 MB / 0.5761 GB, free: 2.078 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.335927963024005]