Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001582/0.001582, allocations: 116.7 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.001715/0.001715, allocations: 210.6 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.47/1.47, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.2313/0.2313, allocations: 46.9 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5") [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.002281/0.002281, allocations: 79.88 kB / 0.4924 GB, free: 8.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 65.99 MB / 0.5568 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00362/0.1363, allocations: 1.658 MB / 0.5584 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1375, allocations: 0.58 MB / 0.559 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.1376, allocations: 0 / 0.559 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.1382, allocations: 451.1 kB / 0.5594 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1387, allocations: 299.3 kB / 0.5597 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.1392, allocations: 179 kB / 0.5599 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.1394, allocations: 179.6 kB / 0.5601 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1395, allocations: 15.98 kB / 0.5601 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1397, allocations: 107.7 kB / 0.5602 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.14, allocations: 251.5 kB / 0.5604 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.14, allocations: 4 kB / 0.5604 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.1401, allocations: 35.94 kB / 0.5605 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1402, allocations: 87.61 kB / 0.5605 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1403, allocations: 103 kB / 0.5606 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1407, allocations: 266.6 kB / 0.5609 GB, free: 1.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1407, allocations: 4 kB / 0.5609 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1407, allocations: 0 / 0.5609 GB, free: 1.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1407, allocations: 0 / 0.5609 GB, free: 1.848 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000807/0.1415, allocations: 0.6568 MB / 0.5615 GB, free: 1.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1415, allocations: 11.97 kB / 0.5616 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.1416, allocations: 48.61 kB / 0.5616 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1419, allocations: 296.7 kB / 0.5619 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1419, allocations: 384 / 0.5619 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.142, allocations: 8.359 kB / 0.5619 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1421, allocations: 54.23 kB / 0.5619 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1421, allocations: 192 / 0.5619 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1422, allocations: 7.938 kB / 0.5619 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1422, allocations: 4 kB / 0.562 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1423, allocations: 31.97 kB / 0.562 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.1428, allocations: 400.6 kB / 0.5624 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1431, allocations: 42.56 kB / 0.5624 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.1431, allocations: 20.94 kB / 0.5624 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1432, allocations: 4 kB / 0.5624 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1432, allocations: 38.5 kB / 0.5625 GB, free: 76 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1432, allocations: 0 / 0.5625 GB, free: 76 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007051/0.1439, allocations: 236.9 kB / 0.5627 GB, free: 15.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1439, allocations: 59.34 kB / 0.5627 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009467/0.1449, allocations: 0.866 MB / 0.5636 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1449, allocations: 29.7 kB / 0.5636 GB, free: 14.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1451, allocations: 232 kB / 0.5638 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1451, allocations: 15.84 kB / 0.5639 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1452, allocations: 17.72 kB / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1454, allocations: 366.5 kB / 0.5642 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.1455, allocations: 23.97 kB / 0.5642 GB, free: 14.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.1455, allocations: 19.98 kB / 0.5643 GB, free: 14.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1457, allocations: 61.02 kB / 0.5643 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1457, allocations: 0 / 0.5643 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002499/0.1459, allocations: 125.3 kB / 0.5644 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1459, allocations: 4 kB / 0.5644 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.146, allocations: 0 / 0.5644 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.146, allocations: 4 kB / 0.5645 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.146, allocations: 11.98 kB / 0.5645 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.146, allocations: 4 kB / 0.5645 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.1461, allocations: 4 kB / 0.5645 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1461, allocations: 3.938 kB / 0.5645 GB, free: 13.95 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 (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.0002199/0.1463, allocations: 221.7 kB / 0.5647 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.1464, allocations: 39.72 kB / 0.5647 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.1467, allocations: 149 kB / 0.5649 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1467, allocations: 0 / 0.5649 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1467, allocations: 4 kB / 0.5649 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.1467, allocations: 0 / 0.5649 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.1474, allocations: 474.5 kB / 0.5653 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1474, allocations: 0 / 0.5653 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.1475, allocations: 11.98 kB / 0.5653 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1475, allocations: 0 / 0.5653 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1475, allocations: 0 / 0.5653 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1475, allocations: 7.938 kB / 0.5653 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1475, allocations: 4 kB / 0.5653 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1478, allocations: 219.4 kB / 0.5656 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1479, allocations: 116.8 kB / 0.5657 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1479, allocations: 0 / 0.5657 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.148, allocations: 11.92 kB / 0.5657 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.148, allocations: 0 / 0.5657 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1481, allocations: 8.281 kB / 0.5657 GB, free: 12.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006912/0.1487, allocations: 0.655 MB / 0.5663 GB, free: 11.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1487, allocations: 3.938 kB / 0.5663 GB, free: 11.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.149, allocations: 27.94 kB / 0.5664 GB, free: 11.91 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.0015/0.1505, allocations: 400.6 kB / 0.5667 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1508, allocations: 51.91 kB / 0.5668 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1508, allocations: 4 kB / 0.5668 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.1508, allocations: 32.09 kB / 0.5668 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1513, allocations: 28.8 kB / 0.5668 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1526, allocations: 0.8433 MB / 0.5677 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.1531, allocations: 0.8182 MB / 0.5685 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.1532, allocations: 19.42 kB / 0.5685 GB, free: 9.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1532, allocations: 0 / 0.5685 GB, free: 9.82 MB / 430.1 MB Notification: Performance of Templates: time 0.008237/0.1614, allocations: 3.792 MB / 0.5722 GB, free: 6.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.031069340882823]