Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001295/0.001295, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001397/0.001397, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.49/1.49, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2255/0.2255, allocations: 46.97 MB / 361.6 MB, free: 4.016 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+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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3627, allocations: 66.03 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003172/0.3659, allocations: 1.641 MB / 0.5634 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.367, allocations: 0.5622 MB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.367, allocations: 0 / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.3676, allocations: 459.1 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.3681, allocations: 287.3 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.3686, allocations: 179.1 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.3688, allocations: 175.6 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3689, allocations: 15.98 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3691, allocations: 115.7 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3694, allocations: 251.5 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.3694, allocations: 0 / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3695, allocations: 39.98 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3696, allocations: 83.69 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.3697, allocations: 67.25 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.3701, allocations: 273 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3701, allocations: 0 / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3701, allocations: 4 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.3701, allocations: 0 / 0.5658 GB, free: 24 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.000851/0.3709, allocations: 0.5854 MB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.371, allocations: 8.031 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.371, allocations: 52.61 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.3714, allocations: 238.8 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3714, allocations: 4.375 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3714, allocations: 384 / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3716, allocations: 65.73 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3716, allocations: 0 / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3716, allocations: 0 / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3716, allocations: 4 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3717, allocations: 35.97 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.3723, allocations: 332.3 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3726, allocations: 50.5 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.3726, allocations: 12.94 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3727, allocations: 4 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3727, allocations: 34.56 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3727, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006823/0.3734, allocations: 244.7 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3734, allocations: 59.34 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.3743, allocations: 0.8613 MB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3744, allocations: 25.7 kB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.3745, allocations: 216 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.3746, allocations: 15.86 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.3746, allocations: 21.7 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3748, allocations: 366.7 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.3749, allocations: 19.98 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.3749, allocations: 27.91 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3751, allocations: 56.77 kB / 0.5691 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3751, allocations: 0 / 0.5691 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002263/0.3753, allocations: 117.4 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3753, allocations: 11.98 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3753, allocations: 4 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3753, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.3754, allocations: 8 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3754, allocations: 4 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.3755, allocations: 3.984 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3755, allocations: 4 kB / 0.5692 GB, free: 12.39 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.0001974/0.3757, allocations: 221.6 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.3757, allocations: 43.97 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.3761, allocations: 149.1 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3761, allocations: 0 / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3761, allocations: 0 / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3761, allocations: 4 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.3767, allocations: 414 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3767, allocations: 0 / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.3768, allocations: 11.98 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3768, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3768, allocations: 8 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3768, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3768, allocations: 3.938 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.3771, allocations: 219.2 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.3771, allocations: 31.72 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3771, allocations: 3.938 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.3772, allocations: 7.984 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3773, allocations: 11.94 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3773, allocations: 0 / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006543/0.3779, allocations: 0.6511 MB / 0.5709 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 4 kB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3782, allocations: 27.94 kB / 0.571 GB, free: 10.53 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.001546/0.3797, allocations: 434.3 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.38, allocations: 47.97 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.38, allocations: 0 / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.38, allocations: 35.91 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3805, allocations: 33.02 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3817, allocations: 0.8105 MB / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.382, allocations: 224.1 kB / 0.5725 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.3821, allocations: 15.77 kB / 0.5725 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3821, allocations: 15.44 kB / 0.5725 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3821, allocations: 0 / 0.5725 GB, free: 9.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005677/0.3878, allocations: 1.695 MB / 0.5742 GB, free: 7.383 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.081579707009951]