Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001124, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 83.86 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4092, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003244/0.4125, allocations: 1.658 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4136, allocations: 0.5516 MB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.4137, allocations: 0 / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.4143, allocations: 457.6 kB / 0.5336 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.4148, allocations: 291.6 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.4153, allocations: 133.4 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.4156, allocations: 163 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.4157, allocations: 20.06 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.4159, allocations: 109.3 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.4162, allocations: 215.6 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4162, allocations: 2.406 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.4163, allocations: 33.55 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.4164, allocations: 86.16 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.4165, allocations: 98.62 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.4169, allocations: 265 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4169, allocations: 1.25 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4169, allocations: 0 / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4169, allocations: 0 / 0.535 GB, free: 10.96 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.0007904/0.4177, allocations: 0.6391 MB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4177, allocations: 10.16 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/0.4178, allocations: 38.94 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.4181, allocations: 296.9 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4181, allocations: 5.672 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4182, allocations: 3 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.4183, allocations: 58.91 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4183, allocations: 0 / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4184, allocations: 0 / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4184, allocations: 9.297 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4185, allocations: 22.61 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.419, allocations: 389.3 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.4192, allocations: 48.69 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.4193, allocations: 11.23 kB / 0.5364 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4193, allocations: 5.219 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.4194, allocations: 35.64 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4194, allocations: 0 / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006902/0.4201, allocations: 227.7 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4201, allocations: 56.5 kB / 0.5367 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4211, allocations: 0.8682 MB / 0.5376 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4212, allocations: 25.7 kB / 0.5376 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4214, allocations: 229.2 kB / 0.5378 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.4214, allocations: 14.73 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.4214, allocations: 22.16 kB / 0.5379 GB, free: 8.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4216, allocations: 363.3 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.4217, allocations: 14.86 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.4218, allocations: 23 kB / 0.5383 GB, free: 8.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.4219, allocations: 53.53 kB / 0.5383 GB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4219, allocations: 0 / 0.5383 GB, free: 8.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002442/0.4222, allocations: 114.9 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4222, allocations: 7.594 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4222, allocations: 0 / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4222, allocations: 1.281 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.4223, allocations: 12.95 kB / 0.5384 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4223, allocations: 5.219 kB / 0.5384 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.4224, allocations: 7.25 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.4224, allocations: 5.188 kB / 0.5385 GB, free: 8.141 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.0002278/0.4227, allocations: 213.9 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.4227, allocations: 38.16 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.4231, allocations: 131.6 kB / 0.5388 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4231, allocations: 4 kB / 0.5388 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4231, allocations: 1.25 kB / 0.5388 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4231, allocations: 3.938 kB / 0.5388 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.4237, allocations: 463.3 kB / 0.5393 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4237, allocations: 4.062 kB / 0.5393 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.4238, allocations: 14.02 kB / 0.5393 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4238, allocations: 0 / 0.5393 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4238, allocations: 5.312 kB / 0.5393 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.4238, allocations: 4 kB / 0.5393 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4238, allocations: 0 / 0.5393 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.4241, allocations: 206.7 kB / 0.5395 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.4242, allocations: 114.5 kB / 0.5396 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.4242, allocations: 8.875 kB / 0.5396 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.4243, allocations: 7.219 kB / 0.5396 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4244, allocations: 6.281 kB / 0.5396 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4244, allocations: 4.984 kB / 0.5396 GB, free: 7.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007494/0.4251, allocations: 0.6536 MB / 0.5403 GB, free: 6.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4251, allocations: 0 / 0.5403 GB, free: 6.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.4254, allocations: 18.28 kB / 0.5403 GB, free: 6.828 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.001139/0.4266, allocations: 412.4 kB / 0.5407 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.4268, allocations: 47.75 kB / 0.5407 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4268, allocations: 0.9375 kB / 0.5407 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.4269, allocations: 31.66 kB / 0.5408 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.4274, allocations: 31.19 kB / 0.5408 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4288, allocations: 0.7908 MB / 0.5416 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.4293, allocations: 0.8212 MB / 0.5424 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.4294, allocations: 21.25 kB / 0.5424 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.4294, allocations: 11.78 kB / 0.5424 GB, free: 5.359 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4294, allocations: 0 / 0.5424 GB, free: 5.359 MB / 398.1 MB Notification: Performance of Templates: time 0.006329/0.4358, allocations: 1.474 MB / 0.5438 GB, free: 4.375 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches