Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009834, allocations: 105.6 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3652/0.3652, allocations: 44.12 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 55.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3645, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002959/0.3675, allocations: 1.618 MB / 0.508 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3689, allocations: 1.01 MB / 0.509 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.369, allocations: 0 / 0.509 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.3692, allocations: 19.38 kB / 0.509 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.3693, allocations: 35.5 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.3696, allocations: 98.83 kB / 0.5091 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3697, allocations: 54.11 kB / 0.5092 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3698, allocations: 16.97 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.3699, allocations: 21.58 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.37, allocations: 26.8 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3701, allocations: 2.531 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.3702, allocations: 45.48 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.3702, allocations: 18.31 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.3703, allocations: 15.53 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3704, allocations: 87.27 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3704, allocations: 7.938 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3705, allocations: 4 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.3705, allocations: 0 / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000473/0.3709, allocations: 382.9 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.371, allocations: 11.44 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.371, allocations: 7.656 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3712, allocations: 180.8 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3712, allocations: 3.406 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3712, allocations: 384 / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3714, allocations: 77 kB / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3714, allocations: 0 / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.3714, allocations: 0 / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3714, allocations: 0 / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.3715, allocations: 21.8 kB / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.3719, allocations: 277.3 kB / 0.5103 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3721, allocations: 49.81 kB / 0.5104 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.3721, allocations: 17.67 kB / 0.5104 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3722, allocations: 6.688 kB / 0.5104 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3722, allocations: 30.56 kB / 0.5104 GB, free: 35.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3722, allocations: 0 / 0.5104 GB, free: 35.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005254/0.3727, allocations: 151.4 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3728, allocations: 77.11 kB / 0.5106 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3729, allocations: 133.8 kB / 0.5108 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.3729, allocations: 25.7 kB / 0.5108 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.3729, allocations: 98.14 kB / 0.5109 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.373, allocations: 14.19 kB / 0.5109 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.373, allocations: 25.89 kB / 0.5109 GB, free: 34.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.3731, allocations: 321.8 kB / 0.5112 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.3731, allocations: 21.34 kB / 0.5112 GB, free: 34.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.3732, allocations: 38.81 kB / 0.5113 GB, free: 34.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3733, allocations: 52.62 kB / 0.5113 GB, free: 34.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3733, allocations: 3.031 kB / 0.5113 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001622/0.3735, allocations: 87.27 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3735, allocations: 7.406 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3735, allocations: 3.188 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3736, allocations: 0 / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.3736, allocations: 8.656 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3736, allocations: 6.172 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.3737, allocations: 2.969 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3737, allocations: 288 / 0.5114 GB, free: 34.33 MB / 378.7 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 6.027e-05/0.3738, allocations: 128 kB / 0.5116 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3738, allocations: 10.25 kB / 0.5116 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.374, allocations: 106.8 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.374, allocations: 2.812 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.374, allocations: 0 / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.374, allocations: 0 / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.3744, allocations: 357.4 kB / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3744, allocations: 0 / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.3745, allocations: 14.61 kB / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3745, allocations: 0 / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.3745, allocations: 4 kB / 0.512 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3745, allocations: 6.844 kB / 0.512 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3745, allocations: 3.938 kB / 0.512 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.3749, allocations: 0.7571 MB / 0.5128 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.3749, allocations: 84.02 kB / 0.5129 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.375, allocations: 3.141 kB / 0.5129 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.375, allocations: 2.875 kB / 0.5129 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3751, allocations: 10.17 kB / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3751, allocations: 2.906 kB / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.337e-05/0.3751, allocations: 104.9 kB / 0.513 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3751, allocations: 0 / 0.513 GB, free: 32.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000335/0.3755, allocations: 25.95 kB / 0.513 GB, free: 32.85 MB / 378.7 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.0008963/0.3764, allocations: 435.7 kB / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3766, allocations: 51.16 kB / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3766, allocations: 0 / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.3767, allocations: 32.66 kB / 0.5135 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.377, allocations: 22.33 kB / 0.5135 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.3775, allocations: 300.3 kB / 0.5138 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.3776, allocations: 0.6915 MB / 0.5145 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.3777, allocations: 21.42 kB / 0.5145 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.3778, allocations: 16 kB / 0.5145 GB, free: 31.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3778, allocations: 4 kB / 0.5145 GB, free: 31.63 MB / 378.7 MB Notification: Performance of Templates: time 0.003459/0.3812, allocations: 1.324 MB / 0.5158 GB, free: 31.47 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches