Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2564/0.2564, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 76.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4707, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003091/0.4738, allocations: 1.676 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4749, allocations: 0.5458 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.475, allocations: 5.469 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.4752, allocations: 62.62 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.4756, allocations: 93.69 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.4759, allocations: 130.2 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.4761, allocations: 91.67 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.4763, allocations: 17.61 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/0.4763, allocations: 42.17 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.4765, allocations: 45.45 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4765, allocations: 4 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.4766, allocations: 56.94 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.4767, allocations: 24.83 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.4767, allocations: 29.69 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.477, allocations: 114.3 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.477, allocations: 3.984 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.477, allocations: 1.125 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.477, allocations: 3.938 kB / 0.5339 GB, free: 11.42 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.0005662/0.4776, allocations: 426 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4776, allocations: 9.188 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.4777, allocations: 13.44 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.4779, allocations: 203.6 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4779, allocations: 1.531 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.478, allocations: 7.938 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.4782, allocations: 67.11 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4782, allocations: 1.125 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.4782, allocations: 4 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4782, allocations: 4.875 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4784, allocations: 35.69 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.4788, allocations: 305.6 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.4791, allocations: 61.95 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.4791, allocations: 25.34 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4792, allocations: 1.375 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.4792, allocations: 31.94 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.4792, allocations: 4 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001371/0.4806, allocations: 401.5 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4806, allocations: 56.28 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.4808, allocations: 194 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4809, allocations: 26.83 kB / 0.5357 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.4809, allocations: 104.6 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.481, allocations: 39.92 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.481, allocations: 25.41 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4812, allocations: 323.1 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4813, allocations: 47.48 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4814, allocations: 40.12 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.4817, allocations: 99.47 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4817, allocations: 1.094 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003045/0.482, allocations: 146.2 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.482, allocations: 4.75 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4821, allocations: 1.031 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4821, allocations: 7.938 kB / 0.5365 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4822, allocations: 29.2 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4822, allocations: 0 / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.4823, allocations: 14.73 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.4823, allocations: 2.281 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.0001203/0.4824, allocations: 132.1 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.4825, allocations: 13.72 kB / 0.5367 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.4829, allocations: 165.1 kB / 0.5368 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4829, allocations: 5.969 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4829, allocations: 0 / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4829, allocations: 0.8125 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.4836, allocations: 487.7 kB / 0.5373 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4836, allocations: 1.406 kB / 0.5373 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4837, allocations: 23.77 kB / 0.5373 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4837, allocations: 1.75 kB / 0.5373 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4838, allocations: 6.203 kB / 0.5373 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4838, allocations: 1.031 kB / 0.5373 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4838, allocations: 1.312 kB / 0.5373 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.4842, allocations: 259.2 kB / 0.5376 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.4842, allocations: 89.23 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4843, allocations: 9.922 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.4844, allocations: 12.97 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.4844, allocations: 8.922 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.4844, allocations: 2.812 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.4846, allocations: 158.6 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4846, allocations: 0 / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.4848, allocations: 22.16 kB / 0.5379 GB, free: 7.98 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.001085/0.4859, allocations: 454.5 kB / 0.5383 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.4863, allocations: 115.3 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4863, allocations: 0 / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4865, allocations: 61.94 kB / 0.5385 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.4868, allocations: 33.91 kB / 0.5385 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.4874, allocations: 280.8 kB / 0.5388 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.4878, allocations: 0.7132 MB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.4879, allocations: 9.875 kB / 0.5395 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.488, allocations: 18.45 kB / 0.5395 GB, free: 6.711 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.488, allocations: 0 / 0.5395 GB, free: 6.711 MB / 398.1 MB Notification: Performance of Templates: time 0.005016/0.493, allocations: 1.566 MB / 0.541 GB, free: 5.91 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches