Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001798/0.001798, 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.00248/0.00248, 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.576/1.576, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2317/0.2317, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 75.89 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3893, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00383/0.3931, allocations: 1.975 MB / 0.5638 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3953, allocations: 1.1 MB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.3954, allocations: 7.938 kB / 0.5648 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.396, allocations: 263.1 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.3965, allocations: 263.1 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.398, allocations: 0.6647 MB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.3985, allocations: 358.8 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3987, allocations: 63.48 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.3989, allocations: 155.4 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.3992, allocations: 227.2 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.3992, allocations: 12 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3994, allocations: 75.91 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3996, allocations: 99.67 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3997, allocations: 95.16 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.4001, allocations: 346 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4001, allocations: 0 / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.4001, allocations: 3.984 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4001, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008455/0.401, allocations: 0.5894 MB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.401, allocations: 12.03 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.4011, allocations: 44.61 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.4015, allocations: 268.6 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4015, allocations: 12.38 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.4016, allocations: 12.38 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.4018, allocations: 129.7 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4019, allocations: 0 / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4019, allocations: 8 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4019, allocations: 0 / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.4021, allocations: 91.88 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.4028, allocations: 432 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.403, allocations: 106.5 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.207e-05/0.4031, allocations: 40.83 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.4031, allocations: 4 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4031, allocations: 34.56 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.4031, allocations: 0 / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001072/0.4042, allocations: 456.5 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.4043, allocations: 55.41 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.4049, allocations: 0.5683 MB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.405, allocations: 33.64 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4051, allocations: 208.4 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.4052, allocations: 59.47 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.4053, allocations: 33.72 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4054, allocations: 358.8 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.4056, allocations: 67.89 kB / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4057, allocations: 70.61 kB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.406, allocations: 152.8 kB / 0.5711 GB, free: 10.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.406, allocations: 4 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004089/0.4064, allocations: 239.5 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4064, allocations: 4 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4064, allocations: 0 / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4065, allocations: 4 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4066, allocations: 31.92 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4066, allocations: 4 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.4067, allocations: 11.98 kB / 0.5713 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4067, allocations: 12 kB / 0.5714 GB, free: 10.22 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 (17): * Single equations (assignments): 17 * 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.0001892/0.4069, allocations: 173.8 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.407, allocations: 55.59 kB / 0.5716 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.4075, allocations: 281.4 kB / 0.5718 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4075, allocations: 0 / 0.5718 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4075, allocations: 4 kB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4076, allocations: 3.984 kB / 0.5719 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.4085, allocations: 0.5916 MB / 0.5724 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4085, allocations: 0 / 0.5724 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.4086, allocations: 31.98 kB / 0.5725 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4086, allocations: 0 / 0.5725 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.4086, allocations: 11.98 kB / 0.5725 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4086, allocations: 3.938 kB / 0.5725 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4086, allocations: 0 / 0.5725 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.4091, allocations: 333.4 kB / 0.5728 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.4091, allocations: 31.77 kB / 0.5728 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4092, allocations: 8 kB / 0.5728 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.4093, allocations: 11.98 kB / 0.5728 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.4093, allocations: 7.984 kB / 0.5728 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4093, allocations: 4 kB / 0.5729 GB, free: 8.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004834/0.4098, allocations: 431 kB / 0.5733 GB, free: 8.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4098, allocations: 0 / 0.5733 GB, free: 8.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000317/0.4101, allocations: 55.92 kB / 0.5733 GB, free: 8.137 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 (17): * Single equations (assignments): 17 * 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.002966/0.4131, allocations: 0.7598 MB / 0.5741 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.4135, allocations: 159.8 kB / 0.5742 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4135, allocations: 0 / 0.5742 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.4137, allocations: 87.88 kB / 0.5743 GB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.4142, allocations: 78.38 kB / 0.5744 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.4156, allocations: 0.7457 MB / 0.5751 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.4158, allocations: 212.2 kB / 0.5753 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.4159, allocations: 39.42 kB / 0.5753 GB, free: 6.371 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4159, allocations: 0 / 0.5753 GB, free: 6.371 MB / 414.1 MB Notification: Performance of Templates: time 0.008193/0.4241, allocations: 4.933 MB / 0.5802 GB, free: 1.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.433529909001663]