Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001286/0.001286, allocations: 107.6 kB / 21.19 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.001414/0.001414, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2554/0.2554, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 0.4974 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.484, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.005071/0.489, allocations: 1.66 MB / 0.5635 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.4905, allocations: 0.5426 MB / 0.564 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.4906, allocations: 0 / 0.564 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008034/0.4914, allocations: 455.1 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007462/0.4922, allocations: 299.3 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.4927, allocations: 131.1 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.4931, allocations: 175.6 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.4932, allocations: 12 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.4935, allocations: 115.7 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.4939, allocations: 247.5 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.4939, allocations: 4 kB / 0.5654 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.4941, allocations: 55.92 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.4943, allocations: 87.67 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4944, allocations: 71.23 kB / 0.5656 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.4949, allocations: 277 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.495, allocations: 0 / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.495, allocations: 0 / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.495, allocations: 0 / 0.5658 GB, free: 92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001238/0.4962, allocations: 0.5933 MB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.4963, allocations: 8.031 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.4964, allocations: 44.66 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.4968, allocations: 250.8 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.4968, allocations: 384 / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4968, allocations: 8.375 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.4971, allocations: 61.75 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4971, allocations: 0 / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4971, allocations: 4 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4971, allocations: 3.938 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.4972, allocations: 31.97 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.4979, allocations: 336.3 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.4981, allocations: 42.56 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.4981, allocations: 16.94 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4982, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.4982, allocations: 38.5 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 3.977e-06/0.4982, allocations: 3.984 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001492/0.4997, allocations: 312.6 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.4998, allocations: 55.41 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.501, allocations: 0.8651 MB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.501, allocations: 25.7 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.5013, allocations: 220 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.5013, allocations: 27.8 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.5014, allocations: 21.72 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.5016, allocations: 362.8 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.5017, allocations: 23.98 kB / 0.5691 GB, free: 12.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.5018, allocations: 23.98 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.502, allocations: 60.83 kB / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.502, allocations: 0 / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003518/0.5023, allocations: 137.4 kB / 0.5693 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.5024, allocations: 12 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.5024, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5024, allocations: 3.938 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5025, allocations: 15.98 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.5025, allocations: 7.938 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.5026, allocations: 0 / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5026, allocations: 8 kB / 0.5693 GB, free: 12.32 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.0002759/0.5029, allocations: 213.8 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.503, allocations: 47.67 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.5034, allocations: 169.6 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5034, allocations: 0 / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.5035, allocations: 3.938 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.5035, allocations: 0 / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.5043, allocations: 446.9 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5043, allocations: 3.938 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.5044, allocations: 20.03 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5044, allocations: 3.938 kB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5044, allocations: 11.98 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5044, allocations: 0 / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5044, allocations: 0 / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.5048, allocations: 236 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.5049, allocations: 39.67 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.5049, allocations: 3.938 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5051, allocations: 8 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.5051, allocations: 11.98 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.5051, allocations: 0 / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008898/0.506, allocations: 0.6472 MB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.506, allocations: 7.938 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004109/0.5064, allocations: 27.98 kB / 0.5712 GB, free: 10.37 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.002183/0.5086, allocations: 496.8 kB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.5089, allocations: 67.89 kB / 0.5717 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5089, allocations: 0 / 0.5717 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.509, allocations: 35.92 kB / 0.5717 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.5096, allocations: 28.14 kB / 0.5718 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.5115, allocations: 0.8675 MB / 0.5726 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.5118, allocations: 224.2 kB / 0.5728 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.5119, allocations: 11.44 kB / 0.5728 GB, free: 8.812 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5119, allocations: 0 / 0.5728 GB, free: 8.812 MB / 414.1 MB Notification: Performance of Templates: time 0.01128/0.5232, allocations: 4.086 MB / 0.5768 GB, free: 4.719 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.018755892990157]