Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002154, allocations: 71.89 kB / 481.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4792, allocations: 62.43 MB / 0.531 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003126/0.4824, allocations: 1.657 MB / 0.5326 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.4835, allocations: 0.5473 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.4835, allocations: 1.375 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.4842, allocations: 449.3 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.4847, allocations: 291.5 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.485, allocations: 138.4 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.4853, allocations: 166.2 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4854, allocations: 15.58 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.4856, allocations: 110.4 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.4859, allocations: 209.8 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.4859, allocations: 3.219 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.486, allocations: 34.11 kB / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.4862, allocations: 86.34 kB / 0.5346 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.762e-05/0.4863, allocations: 106.1 kB / 0.5347 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.4866, allocations: 261.7 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4867, allocations: 0 / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4867, allocations: 3.938 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4867, allocations: 5.344 kB / 0.535 GB, free: 10.89 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.0008118/0.4875, allocations: 0.6525 MB / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4876, allocations: 12.64 kB / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.4876, allocations: 43.22 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.488, allocations: 298.8 kB / 0.5359 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.488, allocations: 1.438 kB / 0.5359 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.488, allocations: 3.656 kB / 0.5359 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.4882, allocations: 57.45 kB / 0.536 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4882, allocations: 4 kB / 0.536 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4882, allocations: 1.094 kB / 0.536 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4883, allocations: 5.062 kB / 0.536 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4884, allocations: 25.81 kB / 0.536 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.4889, allocations: 390.1 kB / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.4892, allocations: 44.78 kB / 0.5364 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.4893, allocations: 18.72 kB / 0.5365 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4893, allocations: 1 kB / 0.5365 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.4893, allocations: 31.69 kB / 0.5365 GB, free: 9.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4893, allocations: 0 / 0.5365 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006791/0.49, allocations: 232.2 kB / 0.5367 GB, free: 9.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4901, allocations: 56.53 kB / 0.5368 GB, free: 9.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4911, allocations: 0.8683 MB / 0.5376 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.4912, allocations: 27.23 kB / 0.5376 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.4913, allocations: 224.3 kB / 0.5379 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.4914, allocations: 14.92 kB / 0.5379 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.4914, allocations: 18.16 kB / 0.5379 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4916, allocations: 371.3 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.4917, allocations: 18.14 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.4918, allocations: 19.39 kB / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4919, allocations: 44.59 kB / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4919, allocations: 0 / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002316/0.4922, allocations: 120.6 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4922, allocations: 5.031 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4922, allocations: 0 / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4922, allocations: 5 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.4923, allocations: 17.48 kB / 0.5385 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4923, allocations: 1.125 kB / 0.5385 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.4924, allocations: 6.281 kB / 0.5385 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.4924, allocations: 6.25 kB / 0.5385 GB, free: 8.051 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.0002141/0.4926, allocations: 209.9 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.4927, allocations: 41.75 kB / 0.5387 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.493, allocations: 135.4 kB / 0.5388 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.493, allocations: 5.625 kB / 0.5388 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.493, allocations: 7.969 kB / 0.5389 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4931, allocations: 5.156 kB / 0.5389 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.4936, allocations: 462.6 kB / 0.5393 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4936, allocations: 0 / 0.5393 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.4937, allocations: 12.98 kB / 0.5393 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4937, allocations: 5.312 kB / 0.5393 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4937, allocations: 5.281 kB / 0.5393 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4937, allocations: 0 / 0.5393 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4937, allocations: 0 / 0.5393 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.494, allocations: 211.4 kB / 0.5395 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.4941, allocations: 118.8 kB / 0.5396 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.4941, allocations: 7.938 kB / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.4942, allocations: 6.656 kB / 0.5397 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.4943, allocations: 10.2 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4943, allocations: 2.344 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007354/0.495, allocations: 0.6531 MB / 0.5403 GB, free: 6.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.495, allocations: 0 / 0.5403 GB, free: 6.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4953, allocations: 22.59 kB / 0.5403 GB, free: 6.719 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.0009875/0.4963, allocations: 397.3 kB / 0.5407 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.4965, allocations: 56.95 kB / 0.5408 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4965, allocations: 0 / 0.5408 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.167e-05/0.4966, allocations: 23.8 kB / 0.5408 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.497, allocations: 39.95 kB / 0.5408 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.4983, allocations: 0.7921 MB / 0.5416 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.4988, allocations: 0.8234 MB / 0.5424 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.4989, allocations: 13.45 kB / 0.5424 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.4989, allocations: 12.88 kB / 0.5424 GB, free: 5.258 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4989, allocations: 0 / 0.5424 GB, free: 5.258 MB / 398.1 MB Notification: Performance of Templates: time 0.005258/0.5042, allocations: 1.493 MB / 0.5439 GB, free: 4.25 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches