Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2558/0.2558, allocations: 46.94 MB / 361.6 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.91 kB / 0.4974 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4586, allocations: 66.02 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003541/0.4621, allocations: 1.676 MB / 0.5635 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.4634, allocations: 0.5932 MB / 0.5641 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.4634, allocations: 0 / 0.5641 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.4641, allocations: 459.1 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.4646, allocations: 295.3 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.4651, allocations: 174.9 kB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.4655, allocations: 183.6 kB / 0.5652 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4656, allocations: 11.98 kB / 0.5652 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.4657, allocations: 111.7 kB / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.466, allocations: 247.5 kB / 0.5655 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.4661, allocations: 4 kB / 0.5655 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4662, allocations: 35.98 kB / 0.5656 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.4663, allocations: 87.67 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4664, allocations: 103 kB / 0.5657 GB, free: 448 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.4668, allocations: 265 kB / 0.566 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4668, allocations: 0 / 0.566 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4668, allocations: 3.938 kB / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4668, allocations: 3.938 kB / 0.566 GB, free: 180 kB / 398.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.0008149/0.4676, allocations: 0.5833 MB / 0.5666 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4677, allocations: 8.031 kB / 0.5666 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.4677, allocations: 44.66 kB / 0.5666 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4681, allocations: 242.8 kB / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4681, allocations: 8.375 kB / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.4681, allocations: 4.375 kB / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4683, allocations: 56.11 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4683, allocations: 0 / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4683, allocations: 0 / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.4683, allocations: 7.938 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.4684, allocations: 27.97 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.4691, allocations: 371.8 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.4693, allocations: 46.48 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.4694, allocations: 20.94 kB / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4694, allocations: 0 / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4694, allocations: 30.56 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4694, allocations: 0 / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006884/0.4701, allocations: 252.6 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.4702, allocations: 51.41 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.4711, allocations: 0.866 MB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4711, allocations: 25.7 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.4713, allocations: 232.1 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.4713, allocations: 11.89 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.4714, allocations: 21.72 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4716, allocations: 366.7 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.4717, allocations: 27.91 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.4717, allocations: 19.98 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.4719, allocations: 52.83 kB / 0.5693 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4719, allocations: 0 / 0.5693 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002336/0.4721, allocations: 133.5 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4721, allocations: 7.938 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4721, allocations: 3.984 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4721, allocations: 4 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.4722, allocations: 15.98 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4722, allocations: 0 / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.4723, allocations: 4 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4723, allocations: 0 / 0.5694 GB, free: 12.48 MB / 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.0002273/0.4725, allocations: 221.8 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.4726, allocations: 43.66 kB / 0.5697 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.4729, allocations: 145.2 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4729, allocations: 0 / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4729, allocations: 0 / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4729, allocations: 0 / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.4735, allocations: 445.5 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4735, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.4736, allocations: 15.92 kB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4736, allocations: 0 / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4736, allocations: 0 / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4736, allocations: 4 kB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4736, allocations: 0 / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.4739, allocations: 227.1 kB / 0.5705 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.4739, allocations: 35.72 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.474, allocations: 0 / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.4741, allocations: 7.984 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.4741, allocations: 0 / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4741, allocations: 8.188 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006847/0.4748, allocations: 0.655 MB / 0.5712 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4748, allocations: 0 / 0.5712 GB, free: 10.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.475, allocations: 23.94 kB / 0.5712 GB, free: 10.58 MB / 414.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.001605/0.4766, allocations: 414.8 kB / 0.5716 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.4769, allocations: 51.97 kB / 0.5716 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4769, allocations: 0 / 0.5716 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.477, allocations: 27.97 kB / 0.5717 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.4774, allocations: 30.23 kB / 0.5717 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.4787, allocations: 0.8512 MB / 0.5725 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.4793, allocations: 0.826 MB / 0.5733 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.4793, allocations: 15.42 kB / 0.5733 GB, free: 8.473 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4793, allocations: 0 / 0.5733 GB, free: 8.473 MB / 414.1 MB Notification: Performance of Templates: time 0.008383/0.4877, allocations: 3.789 MB / 0.577 GB, free: 4.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.300997274927795]