Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 83.86 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3984, allocations: 62.43 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003037/0.4015, allocations: 1.678 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4026, allocations: 0.548 MB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.4026, allocations: 1.312 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005203/0.4032, allocations: 456.4 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.4036, allocations: 299.6 kB / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.404, allocations: 133.9 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.4042, allocations: 168.9 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4043, allocations: 16.98 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.4045, allocations: 118.3 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.4047, allocations: 219.6 kB / 0.5345 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.4047, allocations: 3.531 kB / 0.5345 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.4049, allocations: 48.3 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.405, allocations: 82.25 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.4051, allocations: 107 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.4054, allocations: 278.2 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4054, allocations: 1.375 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4054, allocations: 0 / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.4054, allocations: 0 / 0.535 GB, free: 10.87 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.0007494/0.4062, allocations: 0.6487 MB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.4062, allocations: 9.469 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.4063, allocations: 43.66 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.4066, allocations: 289.3 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.4066, allocations: 2.562 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.4066, allocations: 11.5 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4068, allocations: 64.78 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4068, allocations: 0 / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4068, allocations: 5.281 kB / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4068, allocations: 0 / 0.5361 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.648e-05/0.4069, allocations: 28.48 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.4074, allocations: 403.1 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.896e-05/0.4075, allocations: 38.53 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.4076, allocations: 20.81 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.4076, allocations: 1.219 kB / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4076, allocations: 43.69 kB / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4076, allocations: 0 / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009511/0.4086, allocations: 299.6 kB / 0.5369 GB, free: 9.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4086, allocations: 60.41 kB / 0.5369 GB, free: 9.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.4095, allocations: 0.8642 MB / 0.5378 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.4096, allocations: 27.17 kB / 0.5378 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.4097, allocations: 229.7 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.4098, allocations: 19.16 kB / 0.538 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.4098, allocations: 27.41 kB / 0.5381 GB, free: 8.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.41, allocations: 359.3 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.4101, allocations: 31.14 kB / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.4101, allocations: 26.66 kB / 0.5385 GB, free: 8.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4103, allocations: 64.41 kB / 0.5385 GB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4103, allocations: 3.938 kB / 0.5385 GB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002369/0.4106, allocations: 134.4 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4106, allocations: 5.25 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4106, allocations: 4 kB / 0.5387 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4106, allocations: 5.125 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.4107, allocations: 18.14 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4107, allocations: 5.156 kB / 0.5387 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.4108, allocations: 6.516 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.4108, allocations: 2.219 kB / 0.5387 GB, free: 7.969 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.0001743/0.411, allocations: 214.2 kB / 0.5389 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.4111, allocations: 43.03 kB / 0.539 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.4114, allocations: 164.2 kB / 0.5391 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4114, allocations: 1.125 kB / 0.5391 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4114, allocations: 7.922 kB / 0.5391 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4114, allocations: 1.062 kB / 0.5391 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.4121, allocations: 0.4907 MB / 0.5396 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4121, allocations: 3.969 kB / 0.5396 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.4121, allocations: 22.02 kB / 0.5396 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4122, allocations: 1.031 kB / 0.5396 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4122, allocations: 1.469 kB / 0.5396 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4122, allocations: 5.188 kB / 0.5396 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4122, allocations: 1.219 kB / 0.5396 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.4125, allocations: 242.5 kB / 0.5399 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.4126, allocations: 114.2 kB / 0.54 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.4126, allocations: 5.203 kB / 0.54 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.4127, allocations: 4.094 kB / 0.54 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.4127, allocations: 14.84 kB / 0.54 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.4128, allocations: 3.219 kB / 0.54 GB, free: 6.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006447/0.4134, allocations: 0.6489 MB / 0.5406 GB, free: 6.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4134, allocations: 0 / 0.5406 GB, free: 6.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.4137, allocations: 30.22 kB / 0.5407 GB, free: 6.582 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.001025/0.4147, allocations: 467.9 kB / 0.5411 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.415, allocations: 68.02 kB / 0.5412 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.415, allocations: 0 / 0.5412 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.4151, allocations: 38.19 kB / 0.5412 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4155, allocations: 40.33 kB / 0.5412 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4167, allocations: 0.8123 MB / 0.542 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.4171, allocations: 0.8347 MB / 0.5429 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.4171, allocations: 8.062 kB / 0.5429 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.4172, allocations: 18.02 kB / 0.5429 GB, free: 5.051 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4172, allocations: 0 / 0.5429 GB, free: 5.051 MB / 398.1 MB Notification: Performance of Templates: time 0.004894/0.4221, allocations: 1.746 MB / 0.5446 GB, free: 3.578 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches