Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 108.8 kB / 17.78 MB, free: 5.289 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.001118/0.001118, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2329/0.2329, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 55.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4359, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003132/0.4391, allocations: 1.613 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.4399, allocations: 452.3 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.44, allocations: 1.406 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.4409, allocations: 446.8 kB / 0.5214 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.4416, allocations: 261.3 kB / 0.5216 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.4422, allocations: 174.2 kB / 0.5218 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.4426, allocations: 166.2 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4427, allocations: 16.09 kB / 0.5219 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.4429, allocations: 107.8 kB / 0.522 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.4432, allocations: 214.6 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.4433, allocations: 3.312 kB / 0.5223 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4434, allocations: 34.5 kB / 0.5223 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.4436, allocations: 82.84 kB / 0.5224 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.4436, allocations: 99.58 kB / 0.5225 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.444, allocations: 253.1 kB / 0.5227 GB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.444, allocations: 1.031 kB / 0.5227 GB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.444, allocations: 0 / 0.5227 GB, free: 1.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.444, allocations: 0 / 0.5227 GB, free: 1.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00073/0.4448, allocations: 0.6375 MB / 0.5233 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4448, allocations: 8.281 kB / 0.5233 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.4449, allocations: 43.59 kB / 0.5234 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.4452, allocations: 294.3 kB / 0.5237 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4452, allocations: 6.031 kB / 0.5237 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.4452, allocations: 2.031 kB / 0.5237 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4454, allocations: 59.78 kB / 0.5237 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4454, allocations: 3.938 kB / 0.5237 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4454, allocations: 7.938 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4454, allocations: 0.7969 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.4456, allocations: 31.39 kB / 0.5238 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.4461, allocations: 393.3 kB / 0.5241 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.4464, allocations: 45.59 kB / 0.5242 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.4464, allocations: 28.02 kB / 0.5242 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.4465, allocations: 0 / 0.5242 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.4465, allocations: 32.64 kB / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.4465, allocations: 0 / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006598/0.4471, allocations: 233.3 kB / 0.5245 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4472, allocations: 55.41 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.4482, allocations: 0.8629 MB / 0.5254 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4483, allocations: 25.7 kB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.4484, allocations: 222.2 kB / 0.5256 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.4485, allocations: 21.11 kB / 0.5256 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.4485, allocations: 17.84 kB / 0.5256 GB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4487, allocations: 356.7 kB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.4487, allocations: 24.34 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.4488, allocations: 24.36 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4489, allocations: 50.95 kB / 0.5261 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.449, allocations: 0 / 0.5261 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000222/0.4492, allocations: 118.6 kB / 0.5262 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4492, allocations: 9.484 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4492, allocations: 0 / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.4492, allocations: 4 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.4493, allocations: 11 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4493, allocations: 0 / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.4494, allocations: 18.58 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.4494, allocations: 1.375 kB / 0.5262 GB, free: 15.16 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 (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 0.0002039/0.4496, allocations: 206.5 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.4497, allocations: 46.77 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.45, allocations: 146.3 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.45, allocations: 3.984 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.45, allocations: 1.062 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.45, allocations: 3.938 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.4506, allocations: 463.2 kB / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4506, allocations: 0 / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.4506, allocations: 17.92 kB / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4507, allocations: 0 / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4507, allocations: 9.25 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4507, allocations: 0 / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4507, allocations: 3.938 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4509, allocations: 218 kB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.451, allocations: 109.5 kB / 0.5274 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.4511, allocations: 5.5 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.4512, allocations: 10.45 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.4512, allocations: 6.406 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4512, allocations: 1.375 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007133/0.4519, allocations: 0.6472 MB / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4519, allocations: 0 / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000274/0.4522, allocations: 27.27 kB / 0.5281 GB, free: 13.83 MB / 398.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 (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.0009803/0.4532, allocations: 401 kB / 0.5285 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.4534, allocations: 54.69 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4534, allocations: 7.875 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.4535, allocations: 25.39 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.4539, allocations: 30.14 kB / 0.5286 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4551, allocations: 0.7881 MB / 0.5293 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.4557, allocations: 0.829 MB / 0.5301 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.4558, allocations: 17.2 kB / 0.5302 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.4558, allocations: 11.72 kB / 0.5302 GB, free: 12.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4558, allocations: 0 / 0.5302 GB, free: 12.39 MB / 398.1 MB Notification: Performance of Templates: time 0.005277/0.4611, allocations: 1.482 MB / 0.5316 GB, free: 11.65 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches