Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 117.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.001448/0.001448, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, 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.2338/0.2338, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4839, allocations: 62.43 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003338/0.4873, allocations: 1.667 MB / 0.5326 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.4893, allocations: 1.17 MB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.4894, allocations: 0 / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.4896, allocations: 19.98 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.49, allocations: 86.64 kB / 0.5339 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.4904, allocations: 136.8 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.4906, allocations: 76.48 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.4907, allocations: 12.22 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.4908, allocations: 35.41 kB / 0.5341 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.491, allocations: 34.44 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.491, allocations: 5.5 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.4912, allocations: 104.4 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.4913, allocations: 17.52 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.4914, allocations: 33.39 kB / 0.5343 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.4917, allocations: 148.4 kB / 0.5345 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4917, allocations: 0 / 0.5345 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4917, allocations: 0 / 0.5345 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.4917, allocations: 1.219 kB / 0.5345 GB, free: 11.16 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.0006462/0.4924, allocations: 407.6 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4924, allocations: 9.031 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.4925, allocations: 8.391 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.4929, allocations: 201.2 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4929, allocations: 2.656 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.4929, allocations: 6.719 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.4931, allocations: 81.22 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4932, allocations: 0 / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4932, allocations: 3.938 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4932, allocations: 1.219 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.4933, allocations: 36.44 kB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.4938, allocations: 298.9 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4939, allocations: 43.92 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/0.494, allocations: 27.75 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.494, allocations: 1.281 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.4941, allocations: 35.59 kB / 0.5356 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4941, allocations: 0 / 0.5356 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008372/0.4949, allocations: 208.2 kB / 0.5358 GB, free: 9.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.495, allocations: 82.42 kB / 0.5359 GB, free: 9.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.4954, allocations: 150 kB / 0.536 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4954, allocations: 26.98 kB / 0.536 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.4955, allocations: 91.55 kB / 0.5361 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.4955, allocations: 30.8 kB / 0.5361 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.4956, allocations: 19.28 kB / 0.5362 GB, free: 9.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4957, allocations: 321.4 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.4959, allocations: 34.27 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.496, allocations: 55.33 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.4962, allocations: 67.73 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4962, allocations: 1.375 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003064/0.4965, allocations: 118.1 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4966, allocations: 4.906 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4966, allocations: 0 / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4966, allocations: 9.047 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4967, allocations: 18.42 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4968, allocations: 5.031 kB / 0.5368 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.4968, allocations: 18.42 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4969, allocations: 5.156 kB / 0.5368 GB, free: 8.977 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.0001197/0.497, allocations: 115.3 kB / 0.5369 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.497, allocations: 8.328 kB / 0.5369 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.4974, allocations: 119 kB / 0.537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4974, allocations: 1.344 kB / 0.537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4974, allocations: 0 / 0.537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4974, allocations: 9.344 kB / 0.537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.498, allocations: 403.2 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.498, allocations: 0 / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.993e-05/0.4981, allocations: 18.89 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4981, allocations: 0 / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4982, allocations: 5.219 kB / 0.5374 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4982, allocations: 5.25 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4982, allocations: 0 / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.4985, allocations: 213.8 kB / 0.5376 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.4986, allocations: 87.2 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.4986, allocations: 5.031 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.4987, allocations: 18.7 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.4988, allocations: 2.375 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.4988, allocations: 2.219 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.4989, allocations: 115.8 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4989, allocations: 1.031 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.4992, allocations: 41.39 kB / 0.5379 GB, free: 7.969 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.001266/0.5005, allocations: 490.2 kB / 0.5384 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.5008, allocations: 91.23 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5008, allocations: 1.188 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5009, allocations: 36.94 kB / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.5013, allocations: 21.28 kB / 0.5385 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.5019, allocations: 208.4 kB / 0.5387 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.5022, allocations: 0.7086 MB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.102e-05/0.5023, allocations: 16.08 kB / 0.5394 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.5024, allocations: 18.98 kB / 0.5394 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5024, allocations: 0 / 0.5394 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Templates: time 0.006528/0.5089, allocations: 1.89 MB / 0.5413 GB, free: 5.762 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches