Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001371/0.001371, allocations: 117.4 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.001459/0.001459, allocations: 210.5 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.512/1.512, allocations: 230.3 MB / 255.2 MB, free: 15.35 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.2457/0.2457, allocations: 46.91 MB / 358.2 MB, free: 10.43 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") [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.00241/0.00241, allocations: 84.12 kB / 0.4925 GB, free: 7.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1451, allocations: 66 MB / 0.557 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003485/0.1486, allocations: 1.689 MB / 0.5586 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1497, allocations: 0.5839 MB / 0.5592 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.1498, allocations: 0 / 0.5592 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1501, allocations: 59.73 kB / 0.5593 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.1504, allocations: 87.61 kB / 0.5594 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.1509, allocations: 182.7 kB / 0.5595 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1511, allocations: 79.83 kB / 0.5596 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1512, allocations: 24.16 kB / 0.5596 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.1513, allocations: 39.89 kB / 0.5597 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1514, allocations: 51.77 kB / 0.5597 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1514, allocations: 4 kB / 0.5597 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1515, allocations: 47.98 kB / 0.5598 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.1516, allocations: 23.86 kB / 0.5598 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.1516, allocations: 43.72 kB / 0.5598 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1518, allocations: 99.58 kB / 0.5599 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1518, allocations: 0 / 0.5599 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1519, allocations: 4 kB / 0.5599 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1519, allocations: 0 / 0.5599 GB, free: 2.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000565/0.1524, allocations: 422.7 kB / 0.5603 GB, free: 1.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1525, allocations: 12.03 kB / 0.5603 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1525, allocations: 8.891 kB / 0.5604 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1527, allocations: 200.1 kB / 0.5605 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1527, allocations: 384 / 0.5605 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1528, allocations: 8.375 kB / 0.5606 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.153, allocations: 66.22 kB / 0.5606 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.153, allocations: 192 / 0.5606 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.153, allocations: 7.938 kB / 0.5606 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.153, allocations: 0 / 0.5606 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1531, allocations: 43.91 kB / 0.5607 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.1537, allocations: 320.7 kB / 0.561 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1539, allocations: 62.58 kB / 0.561 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.154, allocations: 28.95 kB / 0.5611 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.154, allocations: 7.984 kB / 0.5611 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1541, allocations: 42.5 kB / 0.5611 GB, free: 1.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1541, allocations: 0 / 0.5611 GB, free: 1.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001759/0.1558, allocations: 421.2 kB / 0.5615 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1559, allocations: 55.39 kB / 0.5616 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1561, allocations: 182 kB / 0.5617 GB, free: 424 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1561, allocations: 25.7 kB / 0.5618 GB, free: 392 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.1562, allocations: 108 kB / 0.5619 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.1562, allocations: 35.69 kB / 0.5619 GB, free: 244 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.1563, allocations: 25.72 kB / 0.5619 GB, free: 212 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1564, allocations: 326.8 kB / 0.5622 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1566, allocations: 55.89 kB / 0.5623 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1567, allocations: 59.95 kB / 0.5623 GB, free: 15.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.157, allocations: 120.7 kB / 0.5625 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.157, allocations: 8 kB / 0.5625 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003796/0.1574, allocations: 153.9 kB / 0.5626 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1574, allocations: 8 kB / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1574, allocations: 0 / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1574, allocations: 0 / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1576, allocations: 35.91 kB / 0.5627 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1576, allocations: 0 / 0.5627 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.1576, allocations: 19.92 kB / 0.5627 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1576, allocations: 7.922 kB / 0.5627 GB, free: 15.41 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 (11): * Single equations (assignments): 11 * 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.0001176/0.1578, allocations: 125.8 kB / 0.5628 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.1578, allocations: 15.89 kB / 0.5628 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.1583, allocations: 194.3 kB / 0.563 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1583, allocations: 4 kB / 0.563 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1583, allocations: 0 / 0.563 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1583, allocations: 7.938 kB / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008697/0.1592, allocations: 0.4887 MB / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1592, allocations: 0 / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1593, allocations: 39.92 kB / 0.5635 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1593, allocations: 0 / 0.5635 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1593, allocations: 8 kB / 0.5635 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1593, allocations: 0 / 0.5635 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1593, allocations: 0 / 0.5635 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.1598, allocations: 281.1 kB / 0.5638 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.1599, allocations: 96.94 kB / 0.5639 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1599, allocations: 4 kB / 0.5639 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.16, allocations: 8 kB / 0.5639 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.16, allocations: 7.984 kB / 0.5639 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.1601, allocations: 4 kB / 0.5639 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1602, allocations: 139.2 kB / 0.5641 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1602, allocations: 4 kB / 0.5641 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1605, allocations: 27.94 kB / 0.5641 GB, free: 13.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001729/0.1622, allocations: 450.3 kB / 0.5645 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.1626, allocations: 127.8 kB / 0.5646 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1626, allocations: 0 / 0.5646 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.1628, allocations: 63.89 kB / 0.5647 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1632, allocations: 23.92 kB / 0.5647 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.1639, allocations: 334 kB / 0.565 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.1643, allocations: 0.7041 MB / 0.5657 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.1644, allocations: 27.42 kB / 0.5658 GB, free: 12.24 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1644, allocations: 0 / 0.5658 GB, free: 12.24 MB / 430.1 MB Notification: Performance of Templates: time 0.004686/0.1691, allocations: 2.047 MB / 0.5677 GB, free: 10.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.813710094007547]