Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, 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.469/1.469, 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.0009843/0.0009844, allocations: 115 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.3518/0.3518, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 51.92 kB / 457.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3999, allocations: 60.8 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003097/0.4031, allocations: 1.619 MB / 0.508 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.4039, allocations: 416.8 kB / 0.5084 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.4039, allocations: 1.188 kB / 0.5084 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.4042, allocations: 20.47 kB / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.4044, allocations: 35.95 kB / 0.5084 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.4047, allocations: 98.2 kB / 0.5085 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.4048, allocations: 52.41 kB / 0.5086 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4049, allocations: 16.56 kB / 0.5086 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.405, allocations: 16.98 kB / 0.5086 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.405, allocations: 27.64 kB / 0.5086 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.405, allocations: 0 / 0.5086 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.4051, allocations: 32.66 kB / 0.5087 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.4052, allocations: 12.8 kB / 0.5087 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.4052, allocations: 21.56 kB / 0.5087 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.4054, allocations: 82.44 kB / 0.5088 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4054, allocations: 4 kB / 0.5088 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4054, allocations: 0 / 0.5088 GB, free: 36.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.4054, allocations: 0 / 0.5088 GB, free: 36.71 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.0004366/0.4058, allocations: 387.3 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4059, allocations: 12.25 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.4059, allocations: 7.812 kB / 0.5092 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.4061, allocations: 191.6 kB / 0.5093 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4061, allocations: 3.094 kB / 0.5093 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.4061, allocations: 384 / 0.5093 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.4063, allocations: 51.75 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4063, allocations: 0 / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4063, allocations: 6.5 kB / 0.5094 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4063, allocations: 3.938 kB / 0.5094 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.4064, allocations: 23.59 kB / 0.5094 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.4067, allocations: 285.7 kB / 0.5097 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.4069, allocations: 47.77 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.407, allocations: 17.94 kB / 0.5098 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.407, allocations: 6.797 kB / 0.5098 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.407, allocations: 34.5 kB / 0.5098 GB, free: 35.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.4071, allocations: 0 / 0.5098 GB, free: 35.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005249/0.4076, allocations: 150.7 kB / 0.5099 GB, free: 35.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.4076, allocations: 51.41 kB / 0.51 GB, free: 35.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4077, allocations: 169.5 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.4078, allocations: 25.7 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.4078, allocations: 101.1 kB / 0.5103 GB, free: 35.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.4078, allocations: 10.47 kB / 0.5103 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.4079, allocations: 16.66 kB / 0.5103 GB, free: 35.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.4079, allocations: 329 kB / 0.5106 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.408, allocations: 26.09 kB / 0.5106 GB, free: 34.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.4081, allocations: 21.55 kB / 0.5107 GB, free: 34.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4082, allocations: 56.58 kB / 0.5107 GB, free: 34.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4082, allocations: 0 / 0.5107 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001603/0.4084, allocations: 86.22 kB / 0.5108 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4084, allocations: 6.875 kB / 0.5108 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4084, allocations: 2.875 kB / 0.5108 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4084, allocations: 0 / 0.5108 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.4085, allocations: 16.02 kB / 0.5108 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4085, allocations: 0 / 0.5108 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.4085, allocations: 2.938 kB / 0.5108 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4086, allocations: 3.062 kB / 0.5108 GB, free: 34.85 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.749e-05/0.4086, allocations: 123.4 kB / 0.5109 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4087, allocations: 10.75 kB / 0.511 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4089, allocations: 95.45 kB / 0.511 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4089, allocations: 288 / 0.511 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4089, allocations: 5.406 kB / 0.5111 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4089, allocations: 0 / 0.5111 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.4093, allocations: 357.7 kB / 0.5114 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4093, allocations: 10.92 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.4093, allocations: 12.06 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.4094, allocations: 0 / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.4094, allocations: 0 / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4094, allocations: 3.938 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4094, allocations: 3.062 kB / 0.5114 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.4098, allocations: 0.7692 MB / 0.5122 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.4098, allocations: 84.95 kB / 0.5123 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4098, allocations: 2.969 kB / 0.5123 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.4099, allocations: 10.25 kB / 0.5123 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.41, allocations: 0 / 0.5123 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.41, allocations: 6.344 kB / 0.5123 GB, free: 33.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.41, allocations: 127.6 kB / 0.5124 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.41, allocations: 3.938 kB / 0.5124 GB, free: 33.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.4104, allocations: 19.56 kB / 0.5124 GB, free: 33.38 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.0008369/0.4112, allocations: 393.7 kB / 0.5128 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.4114, allocations: 48.39 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4114, allocations: 0 / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.4115, allocations: 35.56 kB / 0.5129 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.4118, allocations: 28.97 kB / 0.5129 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.4122, allocations: 331.5 kB / 0.5132 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.4124, allocations: 0.7009 MB / 0.5139 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.4124, allocations: 20.11 kB / 0.5139 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.4125, allocations: 10.22 kB / 0.5139 GB, free: 32.15 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4125, allocations: 0 / 0.5139 GB, free: 32.15 MB / 378.7 MB Notification: Performance of Templates: time 0.003186/0.4157, allocations: 1.068 MB / 0.515 GB, free: 32.02 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches