Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001756/0.001756, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002296/0.002296, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2597/0.2597, allocations: 46.92 MB / 360.8 MB, free: 4.246 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.Test12,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_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 67.89 kB / 0.4967 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4542, allocations: 66.02 MB / 0.5611 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003917/0.4581, allocations: 1.688 MB / 0.5628 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.461, allocations: 1.294 MB / 0.564 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.4611, allocations: 3.938 kB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.4614, allocations: 27.84 kB / 0.5641 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.4618, allocations: 87.61 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.4625, allocations: 175.4 kB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.4628, allocations: 79.77 kB / 0.5644 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.4629, allocations: 19.97 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.463, allocations: 35.8 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.4632, allocations: 35.84 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.4632, allocations: 4 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.4635, allocations: 103.9 kB / 0.5646 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/0.4636, allocations: 23.86 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.4637, allocations: 27.81 kB / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.4642, allocations: 153.9 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4642, allocations: 3.938 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4642, allocations: 0 / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4642, allocations: 0 / 0.5648 GB, free: 0.6172 MB / 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.0006826/0.4649, allocations: 337.7 kB / 0.5651 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4649, allocations: 8.031 kB / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.465, allocations: 12.89 kB / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.4652, allocations: 142.3 kB / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-06/0.4652, allocations: 384 / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.4652, allocations: 8.359 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.4655, allocations: 79.5 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4655, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.4655, allocations: 7.984 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4655, allocations: 0 / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.4657, allocations: 47.89 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.4662, allocations: 275.8 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.4664, allocations: 42.55 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.4665, allocations: 28.88 kB / 0.5657 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4665, allocations: 4 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.4665, allocations: 38.56 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4665, allocations: 3.938 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008429/0.4674, allocations: 229.4 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.4674, allocations: 85.05 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4676, allocations: 151.9 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4676, allocations: 33.64 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.4677, allocations: 100.1 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.4678, allocations: 19.8 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.4678, allocations: 21.72 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.468, allocations: 322.8 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4681, allocations: 35.97 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.4682, allocations: 53.67 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.4685, allocations: 84.8 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4685, allocations: 8.031 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.4688, allocations: 125.5 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4688, allocations: 8 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4688, allocations: 0 / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4688, allocations: 0 / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.469, allocations: 19.98 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.469, allocations: 0 / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.469, allocations: 23.92 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.469, allocations: 4 kB / 0.567 GB, free: 14.1 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 (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.0001032/0.4691, allocations: 117.8 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.4692, allocations: 7.953 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.4696, allocations: 138.3 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4696, allocations: 8 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4696, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4696, allocations: 3.938 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.4703, allocations: 385.9 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4703, allocations: 0 / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.4704, allocations: 23.92 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4704, allocations: 0 / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4704, allocations: 15.86 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4704, allocations: 0 / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4704, allocations: 80 / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.4708, allocations: 219.4 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.4708, allocations: 7.953 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.4708, allocations: 7.938 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.4709, allocations: 15.98 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4709, allocations: 3.984 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4709, allocations: 4 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.4711, allocations: 113.8 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4711, allocations: 0 / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.4714, allocations: 43.86 kB / 0.5681 GB, free: 12.92 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 (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.001863/0.4732, allocations: 0.4949 MB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.4736, allocations: 83.94 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4736, allocations: 0 / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.4737, allocations: 51.89 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4741, allocations: 17.67 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.4748, allocations: 222.2 kB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.4752, allocations: 0.7002 MB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.4753, allocations: 32.62 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.4753, allocations: 23.42 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4753, allocations: 0 / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Templates: time 0.006678/0.482, allocations: 1.971 MB / 0.5716 GB, free: 9.477 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.728582045994699]