Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, 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.001425/0.001425, allocations: 202 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.502/1.502, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 72.06 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.477, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00399/0.4811, allocations: 1.676 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.4822, allocations: 0.5766 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.4823, allocations: 5.375 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.4826, allocations: 49.88 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.483, allocations: 95.53 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.4835, allocations: 178.4 kB / 0.5335 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.4837, allocations: 91.95 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4838, allocations: 19.14 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.4839, allocations: 38.89 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.484, allocations: 43.34 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.484, allocations: 7.625 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.4841, allocations: 48.97 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.4842, allocations: 20.17 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.4843, allocations: 38.61 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.4844, allocations: 114.1 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4845, allocations: 0 / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4845, allocations: 0 / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4845, allocations: 1.375 kB / 0.5339 GB, free: 11.38 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.0005173/0.485, allocations: 414.9 kB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.485, allocations: 13.62 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.4851, allocations: 8.969 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.4853, allocations: 199.1 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4853, allocations: 7.062 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4854, allocations: 7.125 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4855, allocations: 72.97 kB / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4856, allocations: 0 / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4856, allocations: 1.375 kB / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4856, allocations: 0 / 0.5346 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4857, allocations: 50.08 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.4862, allocations: 319.1 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.4865, allocations: 60.67 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.4865, allocations: 33.33 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.4866, allocations: 1.375 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4866, allocations: 35.97 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.4866, allocations: 0 / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001478/0.4881, allocations: 420.7 kB / 0.5355 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.4881, allocations: 60.12 kB / 0.5356 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4883, allocations: 180.6 kB / 0.5357 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4884, allocations: 29.7 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.4884, allocations: 101.7 kB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.4885, allocations: 31.91 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.4885, allocations: 25.7 kB / 0.5359 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4886, allocations: 326.1 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.4888, allocations: 56.58 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.4889, allocations: 49.12 kB / 0.5363 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.4892, allocations: 132.7 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4892, allocations: 0 / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003474/0.4896, allocations: 168.3 kB / 0.5366 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4896, allocations: 5.719 kB / 0.5366 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4896, allocations: 0 / 0.5366 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4896, allocations: 1.094 kB / 0.5366 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4898, allocations: 32.62 kB / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4898, allocations: 0 / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.4898, allocations: 13.86 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4899, allocations: 11.22 kB / 0.5367 GB, free: 9.035 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 0.0001098/0.49, allocations: 128.1 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.49, allocations: 12.16 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.4904, allocations: 186 kB / 0.537 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4905, allocations: 9.906 kB / 0.537 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4905, allocations: 0.5625 kB / 0.537 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4905, allocations: 4 kB / 0.537 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.4912, allocations: 0.497 MB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4912, allocations: 0 / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4913, allocations: 33.02 kB / 0.5375 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4914, allocations: 5.406 kB / 0.5375 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4914, allocations: 1.438 kB / 0.5375 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4914, allocations: 2.688 kB / 0.5375 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4914, allocations: 0 / 0.5375 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.4918, allocations: 272.7 kB / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.4918, allocations: 84.36 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.4919, allocations: 14.11 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.492, allocations: 9.344 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.492, allocations: 13.33 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.492, allocations: 7.406 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4921, allocations: 136.9 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4921, allocations: 0 / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.4924, allocations: 30.59 kB / 0.5381 GB, free: 7.867 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.001029/0.4934, allocations: 453.1 kB / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.4938, allocations: 135.2 kB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4938, allocations: 1.125 kB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.494, allocations: 70.77 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.4944, allocations: 21.86 kB / 0.5387 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.495, allocations: 310.2 kB / 0.539 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4954, allocations: 0.715 MB / 0.5397 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.508e-05/0.4955, allocations: 31.31 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.4955, allocations: 14.53 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4955, allocations: 0 / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of Templates: time 0.004237/0.4998, allocations: 1.639 MB / 0.5414 GB, free: 5.719 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches