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.00143/0.00143, allocations: 116.1 kB / 17.78 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.001696/0.001696, allocations: 202 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.6/1.6, 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.258/0.258, allocations: 46.12 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 76.09 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.473, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003896/0.4769, allocations: 1.68 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.4782, allocations: 0.5807 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.4784, allocations: 4 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.4787, allocations: 47.08 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.4791, allocations: 91.3 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.4796, allocations: 187.6 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.4798, allocations: 89.59 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.48, allocations: 19.22 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.946e-05/0.4801, allocations: 41.58 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.4802, allocations: 39.09 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.4802, allocations: 8.125 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.4804, allocations: 52.91 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.4805, allocations: 29.48 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.4806, allocations: 29.25 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.4809, allocations: 114.6 kB / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4809, allocations: 0 / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4809, allocations: 1.375 kB / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.4809, allocations: 0 / 0.534 GB, free: 11.4 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.0006447/0.4816, allocations: 424.8 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4816, allocations: 13.62 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.4817, allocations: 9.016 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.4819, allocations: 202.2 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.482, allocations: 7.125 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.482, allocations: 3.125 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.4822, allocations: 65.05 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4822, allocations: 3.938 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4823, allocations: 5.375 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4823, allocations: 1.375 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.4824, allocations: 44.7 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.483, allocations: 319.2 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.4833, allocations: 60.7 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.4834, allocations: 29.34 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.4834, allocations: 1.375 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4835, allocations: 35.94 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.4835, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001743/0.4852, allocations: 421.6 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.4853, allocations: 64.22 kB / 0.5356 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.4855, allocations: 175.8 kB / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.4856, allocations: 30.77 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.4856, allocations: 104.8 kB / 0.5359 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.4857, allocations: 36.12 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.4858, allocations: 30.3 kB / 0.5359 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.486, allocations: 322.1 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.4861, allocations: 52.44 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4863, allocations: 61.27 kB / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.4866, allocations: 120.9 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4866, allocations: 0 / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003963/0.487, allocations: 168 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4871, allocations: 13.38 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4871, allocations: 0 / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4871, allocations: 1.188 kB / 0.5367 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4872, allocations: 32.62 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4873, allocations: 1.031 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.4873, allocations: 9.219 kB / 0.5367 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4873, allocations: 3.812 kB / 0.5367 GB, free: 9.055 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.0001292/0.4875, allocations: 131.9 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.4875, allocations: 13 kB / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.488, allocations: 189.2 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.488, allocations: 8.969 kB / 0.537 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4881, allocations: 0.9688 kB / 0.537 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.4881, allocations: 7.984 kB / 0.537 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.4889, allocations: 0.4957 MB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4889, allocations: 1.312 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.489, allocations: 28.72 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4891, allocations: 1.031 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4891, allocations: 10.09 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4891, allocations: 1.188 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4891, allocations: 0.9062 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.4896, allocations: 272.8 kB / 0.5378 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.4897, allocations: 88.14 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.4897, allocations: 1.969 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.4898, allocations: 14.05 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.4899, allocations: 16.61 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.4899, allocations: 3.688 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.49, allocations: 136.7 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4901, allocations: 1.125 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.4903, allocations: 34.17 kB / 0.5381 GB, free: 7.875 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.001121/0.4915, allocations: 449 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.4919, allocations: 131.8 kB / 0.5387 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.4919, allocations: 4.969 kB / 0.5387 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.4921, allocations: 71.45 kB / 0.5387 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.4925, allocations: 27.39 kB / 0.5388 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.4933, allocations: 304.5 kB / 0.539 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.4938, allocations: 0.7147 MB / 0.5397 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.4939, allocations: 35.56 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.494, allocations: 18.92 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.494, allocations: 0 / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of Templates: time 0.005997/0.5, allocations: 1.627 MB / 0.5414 GB, free: 5.734 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