Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001702/0.001702, allocations: 115.7 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.002053/0.002053, allocations: 205 kB / 22.12 MB, free: 0.9219 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.489/1.489, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2363/0.2363, allocations: 46.93 MB / 358.2 MB, free: 10.41 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12") [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.00233/0.00233, allocations: 79.81 kB / 0.4925 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1355, allocations: 66 MB / 0.557 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.004434/0.1399, allocations: 1.605 MB / 0.5586 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1411, allocations: 0.5489 MB / 0.5591 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.1412, allocations: 7.938 kB / 0.5591 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.1413, allocations: 15.86 kB / 0.5591 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.1417, allocations: 91.59 kB / 0.5592 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.142, allocations: 115.3 kB / 0.5593 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1422, allocations: 67.77 kB / 0.5594 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.1423, allocations: 4 kB / 0.5594 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.1423, allocations: 31.91 kB / 0.5594 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1424, allocations: 23.8 kB / 0.5594 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1424, allocations: 4 kB / 0.5594 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.1425, allocations: 28 kB / 0.5595 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.1425, allocations: 19.92 kB / 0.5595 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1426, allocations: 23.8 kB / 0.5595 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1428, allocations: 95.59 kB / 0.5596 GB, free: 2.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1428, allocations: 0 / 0.5596 GB, free: 2.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1428, allocations: 0 / 0.5596 GB, free: 2.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1428, allocations: 0 / 0.5596 GB, free: 2.812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004862/0.1433, allocations: 390.9 kB / 0.56 GB, free: 2.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1433, allocations: 11.97 kB / 0.56 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1433, allocations: 12.84 kB / 0.56 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1436, allocations: 207.5 kB / 0.5602 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.1436, allocations: 384 / 0.5602 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1436, allocations: 4.375 kB / 0.5602 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1437, allocations: 53.81 kB / 0.5602 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1437, allocations: 0 / 0.5602 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1437, allocations: 0 / 0.5602 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1438, allocations: 3.984 kB / 0.5602 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.1439, allocations: 23.98 kB / 0.5603 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1443, allocations: 284.8 kB / 0.5605 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.1444, allocations: 50.55 kB / 0.5606 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.1445, allocations: 16.94 kB / 0.5606 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1445, allocations: 0 / 0.5606 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1446, allocations: 38.56 kB / 0.5606 GB, free: 1.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1446, allocations: 0 / 0.5606 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005651/0.1451, allocations: 153.4 kB / 0.5608 GB, free: 1.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1452, allocations: 51.41 kB / 0.5608 GB, free: 1.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1453, allocations: 178.4 kB / 0.561 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.1454, allocations: 29.7 kB / 0.561 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.1454, allocations: 100.1 kB / 0.5611 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1455, allocations: 15.84 kB / 0.5611 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1455, allocations: 21.7 kB / 0.5612 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1457, allocations: 326.8 kB / 0.5615 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.1457, allocations: 23.97 kB / 0.5615 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.1458, allocations: 19.98 kB / 0.5615 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.146, allocations: 49.02 kB / 0.5616 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.146, allocations: 4 kB / 0.5616 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002114/0.1462, allocations: 97.56 kB / 0.5617 GB, free: 468 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1462, allocations: 4 kB / 0.5617 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1462, allocations: 0 / 0.5617 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1462, allocations: 0 / 0.5617 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.1463, allocations: 15.94 kB / 0.5617 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1463, allocations: 3.984 kB / 0.5617 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1463, allocations: 4 kB / 0.5617 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1463, allocations: 4 kB / 0.5617 GB, free: 436 kB / 414.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.0001017/0.1464, allocations: 129.8 kB / 0.5618 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1465, allocations: 11.89 kB / 0.5618 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.1467, allocations: 93.97 kB / 0.5619 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1467, allocations: 0 / 0.5619 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1467, allocations: 0 / 0.5619 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1467, allocations: 3.984 kB / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.1473, allocations: 362.4 kB / 0.5623 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1473, allocations: 4 kB / 0.5623 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.1473, allocations: 11.98 kB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1473, allocations: 0 / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1473, allocations: 8 kB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1473, allocations: 3.938 kB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1473, allocations: 3.984 kB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1476, allocations: 183.7 kB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.1477, allocations: 93.02 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1477, allocations: 4 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1478, allocations: 3.938 kB / 0.5626 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.1478, allocations: 11.98 kB / 0.5626 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1478, allocations: 0 / 0.5626 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1479, allocations: 135.9 kB / 0.5627 GB, free: 15.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1479, allocations: 0 / 0.5627 GB, free: 15.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1482, allocations: 19.94 kB / 0.5627 GB, free: 15.26 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.001446/0.1496, allocations: 399.6 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.1498, allocations: 55.89 kB / 0.5632 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1498, allocations: 0 / 0.5632 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.1499, allocations: 24.11 kB / 0.5632 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1502, allocations: 19.36 kB / 0.5632 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.1507, allocations: 239.5 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1511, allocations: 0.7002 MB / 0.5641 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1512, allocations: 11.44 kB / 0.5641 GB, free: 13.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1512, allocations: 0 / 0.5641 GB, free: 13.9 MB / 430.1 MB Notification: Performance of Templates: time 0.003602/0.1548, allocations: 1.505 MB / 0.5656 GB, free: 12.39 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.731958446995122]