Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, 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.394/1.394, 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.001265/0.001265, allocations: 93.19 kB / 291.9 MB, free: 10.95 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.463/0.463, allocations: 44.12 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 55.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3949, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003168/0.3981, allocations: 1.719 MB / 0.5081 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.399, allocations: 479.2 kB / 0.5085 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.399, allocations: 6.688 kB / 0.5085 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.3993, allocations: 17.02 kB / 0.5085 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.3995, allocations: 31.53 kB / 0.5086 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3999, allocations: 173.2 kB / 0.5087 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.4, allocations: 79.83 kB / 0.5088 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.4001, allocations: 19.19 kB / 0.5088 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.4002, allocations: 30.75 kB / 0.5089 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.4003, allocations: 41.16 kB / 0.5089 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.4003, allocations: 2.875 kB / 0.5089 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.4004, allocations: 51.33 kB / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.4005, allocations: 23.2 kB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.4005, allocations: 32.47 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.4007, allocations: 113.8 kB / 0.5091 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4007, allocations: 0 / 0.5091 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4007, allocations: 3.938 kB / 0.5091 GB, free: 36.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.4008, allocations: 0 / 0.5091 GB, free: 36.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005622/0.4013, allocations: 423.8 kB / 0.5095 GB, free: 36.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4014, allocations: 10.91 kB / 0.5095 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.4014, allocations: 7.25 kB / 0.5095 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.4016, allocations: 185.3 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4016, allocations: 3.344 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.4016, allocations: 7.312 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.4019, allocations: 102.4 kB / 0.5098 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4019, allocations: 0 / 0.5098 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4019, allocations: 4 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.402, allocations: 6.781 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.4022, allocations: 71.19 kB / 0.5099 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.4028, allocations: 343.9 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.403, allocations: 73.7 kB / 0.5103 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4032, allocations: 55.88 kB / 0.5104 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.4032, allocations: 0 / 0.5104 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.4033, allocations: 33.5 kB / 0.5104 GB, free: 35.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.4033, allocations: 0 / 0.5104 GB, free: 35.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001545/0.4048, allocations: 403.7 kB / 0.5108 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.4049, allocations: 84.11 kB / 0.5109 GB, free: 35.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.405, allocations: 149.5 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.405, allocations: 25.7 kB / 0.511 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.4051, allocations: 102.5 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.4051, allocations: 36.84 kB / 0.5112 GB, free: 34.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.4051, allocations: 23.44 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.4052, allocations: 324.9 kB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.4055, allocations: 77.66 kB / 0.5116 GB, free: 34.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.4058, allocations: 100.3 kB / 0.5117 GB, free: 34.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.4063, allocations: 163.5 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4063, allocations: 0 / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005959/0.4069, allocations: 221.6 kB / 0.512 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4069, allocations: 2.75 kB / 0.512 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4069, allocations: 2.844 kB / 0.512 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.407, allocations: 0 / 0.512 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.4072, allocations: 42.89 kB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4072, allocations: 0 / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4073, allocations: 31.95 kB / 0.5121 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4073, allocations: 3.219 kB / 0.5121 GB, free: 34.36 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 (10): * Single equations (assignments): 10 * 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 7.612e-05/0.4074, allocations: 120.1 kB / 0.5122 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4075, allocations: 9.625 kB / 0.5122 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.4081, allocations: 225.3 kB / 0.5124 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4081, allocations: 0 / 0.5124 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4081, allocations: 4 kB / 0.5124 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4081, allocations: 7.938 kB / 0.5125 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008166/0.409, allocations: 0.5078 MB / 0.513 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.409, allocations: 0 / 0.513 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.4091, allocations: 34.02 kB / 0.513 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4092, allocations: 6.875 kB / 0.513 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4092, allocations: 4 kB / 0.513 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4092, allocations: 0 / 0.513 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4092, allocations: 0 / 0.513 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4102, allocations: 0.9541 MB / 0.5139 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.4103, allocations: 83.95 kB / 0.514 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4103, allocations: 10.5 kB / 0.514 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4104, allocations: 24.8 kB / 0.514 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4105, allocations: 8.406 kB / 0.514 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4105, allocations: 2.656 kB / 0.5141 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.4106, allocations: 119.6 kB / 0.5142 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4106, allocations: 0 / 0.5142 GB, free: 32.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00039/0.411, allocations: 36.02 kB / 0.5142 GB, free: 32.78 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 (9): * Single equations (assignments): 9 * 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.0009476/0.412, allocations: 452.5 kB / 0.5146 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.4126, allocations: 170.4 kB / 0.5148 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4126, allocations: 2.625 kB / 0.5148 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.4129, allocations: 96.39 kB / 0.5149 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.4133, allocations: 22.92 kB / 0.5149 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.414, allocations: 396.3 kB / 0.5153 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.4142, allocations: 0.7114 MB / 0.516 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.4143, allocations: 26.05 kB / 0.516 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.4144, allocations: 19.52 kB / 0.516 GB, free: 31.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4144, allocations: 0 / 0.516 GB, free: 31.48 MB / 378.7 MB Notification: Performance of Templates: time 0.005201/0.4196, allocations: 2.019 MB / 0.518 GB, free: 31.27 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches