Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001746/0.001746, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001567/0.001567, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2235/0.2235, allocations: 46.96 MB / 361.6 MB, free: 4.062 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.CombiTable2Ds.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3869, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003309/0.3902, allocations: 1.66 MB / 0.5635 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3913, allocations: 0.5271 MB / 0.564 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.3913, allocations: 4 kB / 0.564 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.3919, allocations: 459.1 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.3924, allocations: 295.3 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3928, allocations: 131.1 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.393, allocations: 175.6 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3931, allocations: 11.98 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3932, allocations: 119.7 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.3935, allocations: 247.5 kB / 0.5654 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3935, allocations: 4 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3936, allocations: 51.97 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3937, allocations: 91.69 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.3938, allocations: 67.25 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.3942, allocations: 280.9 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3942, allocations: 0 / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3942, allocations: 0 / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3942, allocations: 0 / 0.5658 GB, free: 112 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.000788/0.395, allocations: 0.5855 MB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.395, allocations: 8.031 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.3951, allocations: 44.66 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3954, allocations: 246.8 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3954, allocations: 12.31 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3954, allocations: 4.375 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3956, allocations: 61.8 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3956, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3956, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3956, allocations: 4 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3957, allocations: 27.98 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.3962, allocations: 344.3 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3963, allocations: 42.55 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3964, allocations: 24.89 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3964, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3964, allocations: 34.64 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3964, allocations: 11.88 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000965/0.3974, allocations: 308.5 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3974, allocations: 59.41 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.3983, allocations: 0.8574 MB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3984, allocations: 25.7 kB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.3986, allocations: 224 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.3986, allocations: 23.81 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3987, allocations: 21.7 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3988, allocations: 358.8 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.3989, allocations: 27.97 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.399, allocations: 23.98 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3991, allocations: 72.75 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3991, allocations: 0 / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002465/0.3994, allocations: 129.4 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3994, allocations: 8 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3994, allocations: 0 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3994, allocations: 0 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3995, allocations: 15.98 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3995, allocations: 7.938 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.3996, allocations: 7.984 kB / 0.5693 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3996, allocations: 4 kB / 0.5693 GB, free: 12.34 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.0002052/0.3998, allocations: 213.7 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.3999, allocations: 51.67 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.4002, allocations: 161.7 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4002, allocations: 0 / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4002, allocations: 3.938 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4002, allocations: 4 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.4008, allocations: 447 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4008, allocations: 0 / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.4009, allocations: 19.92 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4009, allocations: 3.938 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4009, allocations: 12 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4009, allocations: 0 / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4009, allocations: 0 / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.4012, allocations: 236.1 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.4013, allocations: 43.61 kB / 0.5705 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.4013, allocations: 3.938 kB / 0.5705 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.4014, allocations: 11.98 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4014, allocations: 7.984 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4014, allocations: 0 / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006482/0.4021, allocations: 0.6472 MB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4021, allocations: 3.938 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.4024, allocations: 31.94 kB / 0.5712 GB, free: 10.39 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.00181/0.4042, allocations: 491.6 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.4044, allocations: 71.94 kB / 0.5717 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4044, allocations: 0 / 0.5717 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.4045, allocations: 35.92 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4049, allocations: 28.95 kB / 0.5718 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4061, allocations: 0.8268 MB / 0.5726 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4064, allocations: 224.1 kB / 0.5728 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.4064, allocations: 16.97 kB / 0.5728 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.4065, allocations: 15.44 kB / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4065, allocations: 3.938 kB / 0.5728 GB, free: 8.848 MB / 414.1 MB Notification: Performance of Templates: time 0.005856/0.4123, allocations: 1.932 MB / 0.5747 GB, free: 6.934 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0479320180020295]