Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 113.8 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 183.1 kB / 18.71 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4046, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003377/0.408, allocations: 1.637 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.4088, allocations: 457.3 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.4089, allocations: 1.438 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007158/0.4097, allocations: 455.3 kB / 0.5214 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.4101, allocations: 256.7 kB / 0.5216 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.4106, allocations: 174.5 kB / 0.5218 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.4109, allocations: 169.8 kB / 0.522 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.4111, allocations: 21.14 kB / 0.522 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.4112, allocations: 112 kB / 0.5221 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.4115, allocations: 215.2 kB / 0.5223 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.4116, allocations: 3.594 kB / 0.5223 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4117, allocations: 48.22 kB / 0.5224 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.4118, allocations: 87.28 kB / 0.5224 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.4119, allocations: 104.7 kB / 0.5225 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.4123, allocations: 265.4 kB / 0.5228 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4123, allocations: 0 / 0.5228 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4123, allocations: 7.938 kB / 0.5228 GB, free: 1.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.4123, allocations: 1.25 kB / 0.5228 GB, free: 1.711 MB / 382.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.0007015/0.413, allocations: 0.6415 MB / 0.5234 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4131, allocations: 8.938 kB / 0.5234 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.4131, allocations: 43.75 kB / 0.5235 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.4134, allocations: 294.3 kB / 0.5238 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4134, allocations: 5.969 kB / 0.5238 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.4134, allocations: 7.5 kB / 0.5238 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.4136, allocations: 69.98 kB / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4137, allocations: 0.5156 kB / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4137, allocations: 5.312 kB / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4137, allocations: 1.219 kB / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4138, allocations: 30.47 kB / 0.5239 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.4143, allocations: 408.5 kB / 0.5243 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4145, allocations: 48.84 kB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.4145, allocations: 20 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.4146, allocations: 1.625 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.4146, allocations: 31.55 kB / 0.5244 GB, free: 376 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4146, allocations: 1.656 kB / 0.5244 GB, free: 376 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009838/0.4156, allocations: 314.8 kB / 0.5247 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4156, allocations: 56.59 kB / 0.5247 GB, free: 160 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009579/0.4166, allocations: 0.8586 MB / 0.5255 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.4166, allocations: 26.64 kB / 0.5256 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.4168, allocations: 225.7 kB / 0.5258 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.4169, allocations: 26.64 kB / 0.5258 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.4169, allocations: 24.94 kB / 0.5258 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4171, allocations: 360.1 kB / 0.5262 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.4172, allocations: 32.33 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.4173, allocations: 32.75 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.4174, allocations: 70.36 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4175, allocations: 1.531 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000258/0.4177, allocations: 149.8 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4177, allocations: 5.25 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4178, allocations: 0 / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4178, allocations: 1.156 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4179, allocations: 22.55 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4179, allocations: 4.25 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.418, allocations: 6.797 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.418, allocations: 6.75 kB / 0.5265 GB, free: 15.01 MB / 398.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.0002038/0.4182, allocations: 219 kB / 0.5267 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.4183, allocations: 42.64 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.4186, allocations: 177.6 kB / 0.5269 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4186, allocations: 5.188 kB / 0.5269 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4186, allocations: 9.484 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4187, allocations: 3.984 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.4193, allocations: 0.5065 MB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4194, allocations: 3.938 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.4194, allocations: 18.08 kB / 0.5275 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4194, allocations: 1.531 kB / 0.5275 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4194, allocations: 0.9062 kB / 0.5275 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4195, allocations: 1.094 kB / 0.5275 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4195, allocations: 0 / 0.5275 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.4198, allocations: 254.9 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.4199, allocations: 115.3 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4199, allocations: 0 / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.42, allocations: 7.516 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.42, allocations: 8.203 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.4201, allocations: 10.19 kB / 0.5278 GB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006874/0.4207, allocations: 0.6474 MB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4208, allocations: 0 / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.421, allocations: 26.09 kB / 0.5285 GB, free: 13.6 MB / 398.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.001032/0.4221, allocations: 460.8 kB / 0.5289 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.4223, allocations: 76.67 kB / 0.529 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4224, allocations: 0 / 0.529 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.4225, allocations: 44.19 kB / 0.529 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4229, allocations: 33.92 kB / 0.5291 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.424, allocations: 0.8225 MB / 0.5299 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.4245, allocations: 0.8314 MB / 0.5307 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.4245, allocations: 25.25 kB / 0.5307 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.4246, allocations: 16.91 kB / 0.5307 GB, free: 12.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4246, allocations: 5.094 kB / 0.5307 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Templates: time 0.005475/0.4301, allocations: 1.741 MB / 0.5324 GB, free: 11.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches