Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4401, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003228/0.4434, allocations: 1.667 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.4452, allocations: 1.199 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.4453, allocations: 1.375 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.4455, allocations: 27.92 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.4459, allocations: 85.73 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.4464, allocations: 180.4 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.4465, allocations: 83.38 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.4467, allocations: 17.62 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.4467, allocations: 26.86 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.4469, allocations: 40.2 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4469, allocations: 5.5 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.4472, allocations: 104.1 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.4472, allocations: 22.8 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.4473, allocations: 29.36 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.4476, allocations: 153.6 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4476, allocations: 1.375 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4476, allocations: 3.938 kB / 0.5346 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.4476, allocations: 0 / 0.5346 GB, free: 10.88 MB / 398.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.0005175/0.4481, allocations: 424.5 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4482, allocations: 9.094 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.4482, allocations: 9.391 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.4484, allocations: 186.3 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.4484, allocations: 9.531 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4485, allocations: 2.938 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4486, allocations: 82.5 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4487, allocations: 1.219 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4487, allocations: 3.984 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4487, allocations: 1.031 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.4488, allocations: 39.09 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.4493, allocations: 317.3 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.4494, allocations: 45.5 kB / 0.5356 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.4495, allocations: 24.88 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4495, allocations: 5.109 kB / 0.5357 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.4496, allocations: 39.41 kB / 0.5357 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4496, allocations: 0 / 0.5357 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007861/0.4504, allocations: 223.1 kB / 0.5359 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.4504, allocations: 86.23 kB / 0.536 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4506, allocations: 155.3 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4506, allocations: 26.92 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.4507, allocations: 95.59 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.4507, allocations: 27.06 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.4508, allocations: 23.31 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.451, allocations: 321 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.4511, allocations: 37.97 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4513, allocations: 54.05 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.4515, allocations: 95.27 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4515, allocations: 0 / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003007/0.4518, allocations: 128.8 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4518, allocations: 5.344 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4519, allocations: 0 / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4519, allocations: 1.062 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.452, allocations: 18.36 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.452, allocations: 1.344 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.4521, allocations: 22.08 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.4521, allocations: 5.031 kB / 0.537 GB, free: 8.652 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 (7): * Single equations (assignments): 7 * 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 9.818e-05/0.4522, allocations: 119.8 kB / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.4523, allocations: 12.62 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.4526, allocations: 134.2 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4526, allocations: 4.812 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4527, allocations: 1.25 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4527, allocations: 7.938 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.4533, allocations: 417.5 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4533, allocations: 1.031 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.4534, allocations: 18.02 kB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4534, allocations: 1.125 kB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4534, allocations: 5.344 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4534, allocations: 4 kB / 0.5377 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4534, allocations: 5.203 kB / 0.5377 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.4538, allocations: 223.8 kB / 0.5379 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.4539, allocations: 82.5 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.4539, allocations: 5.438 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.454, allocations: 14.11 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.454, allocations: 6.719 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.4541, allocations: 5.406 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4542, allocations: 117.4 kB / 0.5381 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4542, allocations: 0 / 0.5381 GB, free: 7.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.4545, allocations: 44.17 kB / 0.5381 GB, free: 7.613 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 (7): * Single equations (assignments): 7 * 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.001399/0.4559, allocations: 485.8 kB / 0.5386 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.4563, allocations: 101.2 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4563, allocations: 0 / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4565, allocations: 53.2 kB / 0.5388 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.4569, allocations: 13.86 kB / 0.5388 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.4575, allocations: 220.8 kB / 0.539 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.4579, allocations: 0.6989 MB / 0.5397 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4581, allocations: 34.73 kB / 0.5397 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.4581, allocations: 22.86 kB / 0.5397 GB, free: 6.371 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4581, allocations: 0 / 0.5397 GB, free: 6.371 MB / 398.1 MB Notification: Performance of Templates: time 0.00554/0.4637, allocations: 1.925 MB / 0.5416 GB, free: 5.371 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches