Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4839, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003413/0.4874, allocations: 1.668 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.4897, allocations: 1.199 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.4898, allocations: 2.094 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.4901, allocations: 27.77 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.4905, allocations: 89.64 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.491, allocations: 169.2 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.4912, allocations: 83.81 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.4913, allocations: 17.94 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.4914, allocations: 31.08 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.4916, allocations: 36.39 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.4916, allocations: 4.438 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.4918, allocations: 105.5 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.4919, allocations: 25.61 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.492, allocations: 21.44 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.4923, allocations: 158.2 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4923, allocations: 0 / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4923, allocations: 0 / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4923, allocations: 0 / 0.5345 GB, free: 10.88 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.0006527/0.493, allocations: 415 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.493, allocations: 9.281 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.4931, allocations: 9.344 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.4933, allocations: 200.9 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4934, allocations: 5.531 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4934, allocations: 2.594 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.4936, allocations: 83.53 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4936, allocations: 0 / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4937, allocations: 8.859 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.4937, allocations: 1.094 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.4938, allocations: 34.19 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.4943, allocations: 313.5 kB / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.4945, allocations: 45.75 kB / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.4946, allocations: 29.31 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.4946, allocations: 3.984 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4946, allocations: 35.94 kB / 0.5357 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4946, allocations: 0 / 0.5357 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008807/0.4955, allocations: 230.4 kB / 0.5359 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.4956, allocations: 83.36 kB / 0.536 GB, free: 9.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.4958, allocations: 153.4 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4959, allocations: 25.7 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.4959, allocations: 96.39 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.496, allocations: 26.39 kB / 0.5363 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.496, allocations: 24.41 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4962, allocations: 320.1 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4964, allocations: 38.12 kB / 0.5366 GB, free: 8.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4965, allocations: 57.42 kB / 0.5367 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.4967, allocations: 86.7 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4968, allocations: 0.9688 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003299/0.4971, allocations: 133.1 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4971, allocations: 3.844 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4971, allocations: 1.344 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4972, allocations: 0 / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4973, allocations: 19.3 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4973, allocations: 0 / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.4974, allocations: 14.39 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.4974, allocations: 9.656 kB / 0.5369 GB, free: 8.668 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 (7): * Single equations (assignments): 7 * 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.000113/0.4975, allocations: 120.5 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.4976, allocations: 12.23 kB / 0.5371 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.498, allocations: 137.8 kB / 0.5372 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.498, allocations: 1.438 kB / 0.5372 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.498, allocations: 0 / 0.5372 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.498, allocations: 9.281 kB / 0.5372 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.4986, allocations: 418 kB / 0.5376 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4986, allocations: 0 / 0.5376 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.4987, allocations: 19.23 kB / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4987, allocations: 0 / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4987, allocations: 5.281 kB / 0.5376 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4987, allocations: 0 / 0.5376 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4987, allocations: 5.438 kB / 0.5376 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.4991, allocations: 227.1 kB / 0.5379 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.4992, allocations: 83.14 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.4992, allocations: 5.719 kB / 0.5379 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.4993, allocations: 13.14 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.4994, allocations: 7.031 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4994, allocations: 5.719 kB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.4995, allocations: 117.4 kB / 0.5381 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4995, allocations: 0 / 0.5381 GB, free: 7.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.4998, allocations: 39.05 kB / 0.5381 GB, free: 7.633 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 (7): * Single equations (assignments): 7 * 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.001213/0.5011, allocations: 486.6 kB / 0.5386 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.5015, allocations: 109.1 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5015, allocations: 1.406 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.5016, allocations: 48.11 kB / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.502, allocations: 15.03 kB / 0.5387 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.5027, allocations: 221.6 kB / 0.539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.5031, allocations: 0.6988 MB / 0.5396 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.5032, allocations: 27.03 kB / 0.5397 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.5033, allocations: 19.7 kB / 0.5397 GB, free: 6.398 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5033, allocations: 3.938 kB / 0.5397 GB, free: 6.395 MB / 398.1 MB Notification: Performance of Templates: time 0.005859/0.5092, allocations: 1.932 MB / 0.5416 GB, free: 5.391 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches