Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001709/0.001709, 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.002646/0.002646, 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.582/1.582, allocations: 230.6 MB / 258.3 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.91 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 71.89 kB / 0.4943 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3518, allocations: 65.47 MB / 0.5583 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003119/0.3549, allocations: 1.692 MB / 0.5599 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3559, allocations: 0.5659 MB / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.356, allocations: 4 kB / 0.5605 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.3566, allocations: 459.1 kB / 0.5609 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004771/0.357, allocations: 291.3 kB / 0.5612 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3574, allocations: 131.6 kB / 0.5613 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.3576, allocations: 179.6 kB / 0.5615 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.3577, allocations: 15.98 kB / 0.5615 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3578, allocations: 119.7 kB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.3581, allocations: 251.5 kB / 0.5619 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3581, allocations: 4 kB / 0.5619 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3583, allocations: 47.98 kB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3584, allocations: 83.67 kB / 0.562 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.3585, allocations: 114.9 kB / 0.5621 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.3588, allocations: 269 kB / 0.5624 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3588, allocations: 0 / 0.5624 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3588, allocations: 0 / 0.5624 GB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3588, allocations: 4 kB / 0.5624 GB, free: 3.504 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007384/0.3595, allocations: 0.5854 MB / 0.5629 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3596, allocations: 8.031 kB / 0.5629 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.3596, allocations: 48.59 kB / 0.563 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.3599, allocations: 250.7 kB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3599, allocations: 4.375 kB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.36, allocations: 8.375 kB / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3601, allocations: 61.8 kB / 0.5633 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3601, allocations: 4 kB / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.3601, allocations: 0 / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3602, allocations: 0 / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3603, allocations: 31.91 kB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.3608, allocations: 363.8 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3609, allocations: 50.59 kB / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.361, allocations: 12.94 kB / 0.5637 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.361, allocations: 4 kB / 0.5637 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.361, allocations: 34.56 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.361, allocations: 0 / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009222/0.3619, allocations: 316.5 kB / 0.5641 GB, free: 1.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.362, allocations: 55.34 kB / 0.5641 GB, free: 1.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/0.3629, allocations: 0.8653 MB / 0.565 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3629, allocations: 25.7 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3631, allocations: 232.1 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3631, allocations: 19.75 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.3632, allocations: 29.7 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.3634, allocations: 354.8 kB / 0.5656 GB, free: 16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.3635, allocations: 27.98 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.3636, allocations: 27.97 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3637, allocations: 68.72 kB / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3637, allocations: 0 / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002433/0.364, allocations: 133.4 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.364, allocations: 4 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.364, allocations: 0 / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.364, allocations: 0 / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3641, allocations: 20.41 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3641, allocations: 3.938 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.3642, allocations: 7.984 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3642, allocations: 8 kB / 0.5659 GB, free: 15.69 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 (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 0.0002105/0.3644, allocations: 213.7 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3644, allocations: 47.61 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.3648, allocations: 169.7 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3648, allocations: 3.984 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3648, allocations: 11.92 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3648, allocations: 4 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.3654, allocations: 470.3 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3654, allocations: 7.938 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.3655, allocations: 23.92 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3655, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3655, allocations: 8 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3655, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3655, allocations: 4.031 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3658, allocations: 236 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.3659, allocations: 35.66 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3659, allocations: 4 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.366, allocations: 11.98 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.366, allocations: 7.938 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.366, allocations: 7.984 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.3667, allocations: 0.655 MB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3667, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.367, allocations: 24 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001738/0.3687, allocations: 469.6 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.369, allocations: 55.97 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.369, allocations: 4 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.3691, allocations: 31.92 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3694, allocations: 35.98 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3707, allocations: 0.8599 MB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.3712, allocations: 0.8337 MB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.3712, allocations: 15.44 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3712, allocations: 0 / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Templates: time 0.007335/0.3786, allocations: 3.966 MB / 0.5739 GB, free: 7.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.009863161016256]