Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001512/0.001512, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001842/0.001842, allocations: 219.2 kB / 24.47 MB, free: 4.359 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.535/1.535, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2939/0.2939, allocations: 46.89 MB / 361.1 MB, free: 4.633 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-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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") [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.002391/0.002391, allocations: 83.86 kB / 0.4968 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4529, allocations: 65.97 MB / 0.5612 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003013/0.4559, allocations: 1.635 MB / 0.5628 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.4574, allocations: 1.256 MB / 0.564 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.4575, allocations: 3.938 kB / 0.564 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.4577, allocations: 21.12 kB / 0.5641 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.458, allocations: 88.31 kB / 0.5641 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.4583, allocations: 95.67 kB / 0.5642 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.4585, allocations: 75.47 kB / 0.5643 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4586, allocations: 12.3 kB / 0.5643 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.4586, allocations: 38.59 kB / 0.5644 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.4588, allocations: 33.48 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.4588, allocations: 5.531 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.459, allocations: 96.66 kB / 0.5645 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.459, allocations: 28.72 kB / 0.5645 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.4591, allocations: 24.91 kB / 0.5645 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.4593, allocations: 151.8 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.4593, allocations: 0 / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4593, allocations: 0 / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4593, allocations: 0 / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005186/0.4599, allocations: 418.6 kB / 0.5651 GB, free: 31.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4599, allocations: 8.969 kB / 0.5651 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.4599, allocations: 11.95 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.4601, allocations: 196.4 kB / 0.5653 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4602, allocations: 3.094 kB / 0.5653 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4602, allocations: 3.969 kB / 0.5653 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4603, allocations: 73.52 kB / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4604, allocations: 8.141 kB / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4604, allocations: 7.922 kB / 0.5654 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4604, allocations: 4.438 kB / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.4605, allocations: 37.05 kB / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.4608, allocations: 300.6 kB / 0.5657 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.4609, allocations: 50.95 kB / 0.5658 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.461, allocations: 18.05 kB / 0.5658 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.461, allocations: 3.375 kB / 0.5658 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.461, allocations: 37.56 kB / 0.5658 GB, free: 31.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.461, allocations: 0 / 0.5658 GB, free: 31.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006038/0.4616, allocations: 179.2 kB / 0.566 GB, free: 31.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.4617, allocations: 80.11 kB / 0.5661 GB, free: 30.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4618, allocations: 156.7 kB / 0.5662 GB, free: 30.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4618, allocations: 25.7 kB / 0.5662 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.4618, allocations: 95.39 kB / 0.5663 GB, free: 30.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.4619, allocations: 34.45 kB / 0.5664 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.4619, allocations: 23.88 kB / 0.5664 GB, free: 30.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.4619, allocations: 323.2 kB / 0.5667 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.462, allocations: 22.66 kB / 0.5667 GB, free: 30.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.4621, allocations: 45.88 kB / 0.5667 GB, free: 30.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4622, allocations: 57.36 kB / 0.5668 GB, free: 30.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4622, allocations: 0 / 0.5668 GB, free: 30.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001807/0.4624, allocations: 97.8 kB / 0.5669 GB, free: 30.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4624, allocations: 10.09 kB / 0.5669 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4624, allocations: 0 / 0.5669 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4624, allocations: 3.469 kB / 0.5669 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4625, allocations: 22.44 kB / 0.5669 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4625, allocations: 0 / 0.5669 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.4626, allocations: 6.391 kB / 0.5669 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4626, allocations: 3 kB / 0.5669 GB, free: 30.2 MB / 446.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 (8): * Single equations (assignments): 8 * 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 6.468e-05/0.4627, allocations: 119.8 kB / 0.5671 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.4627, allocations: 6.984 kB / 0.5671 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.463, allocations: 134.3 kB / 0.5672 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.463, allocations: 0.6562 kB / 0.5672 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.463, allocations: 0 / 0.5672 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.463, allocations: 0.6562 kB / 0.5672 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.4634, allocations: 394.3 kB / 0.5676 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4634, allocations: 0 / 0.5676 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.4635, allocations: 22.58 kB / 0.5676 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4635, allocations: 0 / 0.5676 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4635, allocations: 4.703 kB / 0.5676 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4635, allocations: 3.938 kB / 0.5676 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4635, allocations: 3.031 kB / 0.5676 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.4637, allocations: 197.9 kB / 0.5678 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.4637, allocations: 89.31 kB / 0.5679 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.4637, allocations: 0 / 0.5679 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.4638, allocations: 13.62 kB / 0.5679 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.4638, allocations: 7.922 kB / 0.5679 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4638, allocations: 3.266 kB / 0.5679 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.4639, allocations: 117.7 kB / 0.568 GB, free: 29.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4639, allocations: 0 / 0.568 GB, free: 29.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.4642, allocations: 44.84 kB / 0.5681 GB, free: 29.27 MB / 446.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 (8): * Single equations (assignments): 8 * 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.001639/0.4659, allocations: 488.3 kB / 0.5685 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4661, allocations: 65.33 kB / 0.5686 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4661, allocations: 0 / 0.5686 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.4662, allocations: 36.06 kB / 0.5686 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.4665, allocations: 24.03 kB / 0.5686 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.467, allocations: 205.1 kB / 0.5688 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4671, allocations: 0.6944 MB / 0.5695 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.4672, allocations: 17.61 kB / 0.5695 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.4672, allocations: 24.28 kB / 0.5696 GB, free: 28.15 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4672, allocations: 0 / 0.5696 GB, free: 28.15 MB / 446.1 MB Notification: Performance of Templates: time 0.004815/0.472, allocations: 1.866 MB / 0.5714 GB, free: 27.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 5.605868272017688]