Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001716/0.001716, allocations: 113.9 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.00208/0.00208, 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.568/1.568, allocations: 230.2 MB / 255.1 MB, free: 15.22 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.2317/0.2317, 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") [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.002257/0.002257, allocations: 79.86 kB / 0.4924 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1373, allocations: 65.99 MB / 0.5568 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003329/0.1406, allocations: 1.661 MB / 0.5584 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1418, allocations: 0.5956 MB / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.1418, allocations: 0 / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.1425, allocations: 447.1 kB / 0.5595 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.143, allocations: 299.2 kB / 0.5597 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.1435, allocations: 174.9 kB / 0.5599 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.1438, allocations: 183.6 kB / 0.5601 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1439, allocations: 12 kB / 0.5601 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.144, allocations: 115.7 kB / 0.5602 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.1443, allocations: 259.5 kB / 0.5604 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1443, allocations: 4 kB / 0.5605 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1444, allocations: 28 kB / 0.5605 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1446, allocations: 87.67 kB / 0.5606 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.1447, allocations: 107 kB / 0.5607 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.145, allocations: 270.6 kB / 0.5609 GB, free: 1.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.145, allocations: 0 / 0.5609 GB, free: 1.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.145, allocations: 0 / 0.5609 GB, free: 1.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.145, allocations: 0 / 0.5609 GB, free: 1.684 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.0008367/0.1459, allocations: 0.6646 MB / 0.5616 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1459, allocations: 12.03 kB / 0.5616 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.146, allocations: 48.61 kB / 0.5616 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1463, allocations: 308.5 kB / 0.5619 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1463, allocations: 384 / 0.5619 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1463, allocations: 12.31 kB / 0.5619 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1465, allocations: 62.22 kB / 0.562 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1465, allocations: 4.188 kB / 0.562 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1466, allocations: 7.938 kB / 0.562 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1466, allocations: 0 / 0.562 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1467, allocations: 39.91 kB / 0.562 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.1473, allocations: 397 kB / 0.5624 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1475, allocations: 54.5 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.1475, allocations: 28.92 kB / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1476, allocations: 4.016 kB / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1476, allocations: 30.56 kB / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1476, allocations: 0 / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009537/0.1485, allocations: 324.5 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1486, allocations: 51.41 kB / 0.5629 GB, free: 15.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.1495, allocations: 0.8691 MB / 0.5637 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1495, allocations: 25.7 kB / 0.5638 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1497, allocations: 216.1 kB / 0.564 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1497, allocations: 19.8 kB / 0.564 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1498, allocations: 25.7 kB / 0.564 GB, free: 14.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.15, allocations: 366.7 kB / 0.5644 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1501, allocations: 35.97 kB / 0.5644 GB, free: 13.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1502, allocations: 39.95 kB / 0.5644 GB, free: 13.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1505, allocations: 88.8 kB / 0.5645 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1505, allocations: 0 / 0.5645 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003636/0.1508, allocations: 177.4 kB / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1508, allocations: 4 kB / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1509, allocations: 0 / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1509, allocations: 0 / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.151, allocations: 23.98 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.151, allocations: 0 / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.566e-05/0.1511, allocations: 7.984 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1511, allocations: 4 kB / 0.5647 GB, free: 13.54 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 (7): * Single equations (assignments): 7 * 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.0002202/0.1513, allocations: 217.7 kB / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.1514, allocations: 43.72 kB / 0.565 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.1518, allocations: 185.4 kB / 0.5652 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1518, allocations: 0 / 0.5652 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1518, allocations: 3.938 kB / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1518, allocations: 0 / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.1526, allocations: 0.5062 MB / 0.5657 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1526, allocations: 0 / 0.5657 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.1527, allocations: 35.84 kB / 0.5657 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1527, allocations: 288 / 0.5657 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1527, allocations: 4 kB / 0.5657 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1527, allocations: 0 / 0.5657 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1527, allocations: 3.938 kB / 0.5657 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.1531, allocations: 263.1 kB / 0.5659 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.1532, allocations: 112.8 kB / 0.5661 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1532, allocations: 4 kB / 0.5661 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1533, allocations: 7.984 kB / 0.5661 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.1533, allocations: 7.938 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1533, allocations: 3.984 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006497/0.154, allocations: 0.655 MB / 0.5667 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.154, allocations: 0 / 0.5667 GB, free: 11.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1543, allocations: 27.94 kB / 0.5667 GB, free: 11.37 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 (7): * Single equations (assignments): 7 * 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.001507/0.1558, allocations: 406.4 kB / 0.5671 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.1561, allocations: 87.92 kB / 0.5672 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1561, allocations: 0 / 0.5672 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1562, allocations: 47.91 kB / 0.5673 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.1567, allocations: 30.3 kB / 0.5673 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.158, allocations: 0.8671 MB / 0.5681 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.1584, allocations: 0.826 MB / 0.5689 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.1585, allocations: 15.44 kB / 0.569 GB, free: 9.191 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1585, allocations: 0 / 0.569 GB, free: 9.191 MB / 430.1 MB Notification: Performance of Templates: time 0.00838/0.1669, allocations: 3.934 MB / 0.5728 GB, free: 5.25 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.946005618898198]