Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.12 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 79.86 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4566, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002897/0.4596, allocations: 1.683 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.4606, allocations: 0.5789 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.4606, allocations: 5.688 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.4609, allocations: 57.31 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.4612, allocations: 97.14 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.4616, allocations: 181.8 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.4618, allocations: 94.11 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.462, allocations: 19.23 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.462, allocations: 38.95 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4622, allocations: 47.22 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.4622, allocations: 8.125 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.4623, allocations: 56.95 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.4624, allocations: 21.55 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.4624, allocations: 33.25 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.4626, allocations: 115.4 kB / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4627, allocations: 0 / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4627, allocations: 1.375 kB / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.4627, allocations: 0 / 0.534 GB, free: 11.37 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005707/0.4633, allocations: 416.3 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4633, allocations: 17.61 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.4634, allocations: 12.88 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.4636, allocations: 200.4 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4636, allocations: 5.688 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.4636, allocations: 7.125 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4638, allocations: 70.36 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4639, allocations: 0 / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4639, allocations: 0 / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4639, allocations: 1.375 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.464, allocations: 48.7 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.4645, allocations: 324.5 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.4648, allocations: 56.67 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.4649, allocations: 29.34 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.4649, allocations: 1.375 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.465, allocations: 43.94 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.465, allocations: 3.938 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001541/0.4665, allocations: 417.5 kB / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.4666, allocations: 57.41 kB / 0.5356 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.4668, allocations: 186.9 kB / 0.5358 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4668, allocations: 30.77 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.4668, allocations: 109.5 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.4669, allocations: 35.64 kB / 0.536 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.467, allocations: 26.56 kB / 0.536 GB, free: 9.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4671, allocations: 322.3 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4672, allocations: 56.45 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.4674, allocations: 53.17 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.4676, allocations: 139.8 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4677, allocations: 1.094 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003382/0.468, allocations: 160.7 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.468, allocations: 8.609 kB / 0.5367 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.468, allocations: 1.156 kB / 0.5367 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4681, allocations: 0 / 0.5367 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4682, allocations: 28.11 kB / 0.5367 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4682, allocations: 1.75 kB / 0.5367 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.4682, allocations: 13.77 kB / 0.5367 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4683, allocations: 6.875 kB / 0.5367 GB, free: 9.02 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 (11): * Single equations (assignments): 11 * 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.601e-05/0.4684, allocations: 132.1 kB / 0.5369 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.4684, allocations: 14.09 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.4688, allocations: 186.5 kB / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4689, allocations: 5.25 kB / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4689, allocations: 3.984 kB / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4689, allocations: 4 kB / 0.5371 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.4696, allocations: 0.4978 MB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4696, allocations: 0 / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4697, allocations: 28.42 kB / 0.5376 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4697, allocations: 10.33 kB / 0.5376 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.4698, allocations: 5.094 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4698, allocations: 2.125 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4698, allocations: 1.375 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.4702, allocations: 284.3 kB / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.4703, allocations: 84.7 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.4703, allocations: 1.125 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.4704, allocations: 13.67 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.4705, allocations: 12.55 kB / 0.538 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4705, allocations: 3.469 kB / 0.538 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4706, allocations: 145.1 kB / 0.5381 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4706, allocations: 0 / 0.5381 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.4709, allocations: 30.55 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001007/0.4719, allocations: 460.1 kB / 0.5386 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.4723, allocations: 132.1 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4723, allocations: 0 / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.4725, allocations: 71.2 kB / 0.5388 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4728, allocations: 21.3 kB / 0.5388 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.4735, allocations: 319 kB / 0.5391 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4738, allocations: 0.7171 MB / 0.5398 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.732e-05/0.4739, allocations: 34.36 kB / 0.5398 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.4739, allocations: 14.34 kB / 0.5398 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.474, allocations: 1.594 kB / 0.5399 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.004417/0.4784, allocations: 1.64 MB / 0.5415 GB, free: 5.691 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches