Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 117.6 kB / 17.79 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.001124/0.001124, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2506/0.2506, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 76.09 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.477, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003332/0.4804, allocations: 1.674 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4815, allocations: 0.5479 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.4815, allocations: 1.375 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.4818, allocations: 59.17 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.4822, allocations: 102 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.4825, allocations: 130.9 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.4827, allocations: 87.19 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.4829, allocations: 21.09 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.483, allocations: 42.73 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.4831, allocations: 46.3 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.4831, allocations: 3 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.4833, allocations: 53.42 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-05/0.4834, allocations: 23.98 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.4834, allocations: 38 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.4837, allocations: 101.5 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4837, allocations: 0.9688 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4837, allocations: 0 / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.4837, allocations: 4 kB / 0.5339 GB, free: 11.44 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.0005526/0.4842, allocations: 426.2 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4843, allocations: 9.719 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.4844, allocations: 16.89 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.4846, allocations: 194.8 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4846, allocations: 5.594 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.4846, allocations: 8.141 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.4848, allocations: 71.42 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4848, allocations: 0 / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4848, allocations: 1.219 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4848, allocations: 5.141 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.485, allocations: 45.86 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.4854, allocations: 302.2 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.4857, allocations: 58.25 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.4858, allocations: 29.45 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.4858, allocations: 5.141 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.4858, allocations: 35.69 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4858, allocations: 0 / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00142/0.4873, allocations: 393.6 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.4873, allocations: 56.72 kB / 0.5355 GB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.4875, allocations: 190.2 kB / 0.5357 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4876, allocations: 29.64 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.4876, allocations: 106 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.4877, allocations: 35.75 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.4877, allocations: 29.69 kB / 0.5358 GB, free: 9.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4879, allocations: 325.4 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.488, allocations: 43.8 kB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4881, allocations: 39.78 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.4884, allocations: 100.4 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4884, allocations: 0 / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000332/0.4888, allocations: 150.8 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4888, allocations: 5.156 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4888, allocations: 1.469 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4888, allocations: 0 / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4889, allocations: 36.42 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.489, allocations: 5.25 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.489, allocations: 13.48 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.489, allocations: 2.469 kB / 0.5365 GB, free: 9.125 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.0001169/0.4892, allocations: 128 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.4892, allocations: 12.81 kB / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.4896, allocations: 161.9 kB / 0.5368 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4896, allocations: 4.969 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4896, allocations: 1.125 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4897, allocations: 0 / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.4904, allocations: 482.6 kB / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4904, allocations: 5.062 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.4905, allocations: 24.45 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4905, allocations: 2.156 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4905, allocations: 1.969 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4905, allocations: 0.75 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4905, allocations: 1 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.4909, allocations: 259.5 kB / 0.5376 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.491, allocations: 84.56 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.491, allocations: 9.203 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.4911, allocations: 6.781 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.4912, allocations: 9.172 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4912, allocations: 6.625 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.4913, allocations: 148.5 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4913, allocations: 3.938 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.4916, allocations: 25.59 kB / 0.5379 GB, free: 8 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.001123/0.4927, allocations: 459.7 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.4931, allocations: 106.4 kB / 0.5384 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4931, allocations: 0 / 0.5384 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.4932, allocations: 54.44 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.4936, allocations: 33.83 kB / 0.5385 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.4943, allocations: 287.2 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4946, allocations: 0.7088 MB / 0.5394 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.965e-05/0.4947, allocations: 25.38 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.4947, allocations: 14.12 kB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4947, allocations: 1.125 kB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of Templates: time 0.00494/0.4997, allocations: 1.554 MB / 0.541 GB, free: 5.93 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches