Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.00167, allocations: 118.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.00183/0.00183, 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.419/1.419, 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.2079/0.2079, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 79.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4782, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00349/0.4818, allocations: 1.651 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.4831, allocations: 0.5554 MB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.4832, allocations: 2 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007765/0.484, allocations: 452.5 kB / 0.5336 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.4846, allocations: 287.7 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.485, allocations: 138.2 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.4853, allocations: 163.2 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4854, allocations: 20.34 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.4856, allocations: 105.8 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.4859, allocations: 217.8 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.486, allocations: 7.312 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4861, allocations: 32.83 kB / 0.5345 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.4863, allocations: 86.97 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.4864, allocations: 97.94 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.4868, allocations: 270.2 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4868, allocations: 0 / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4868, allocations: 0 / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4868, allocations: 4 kB / 0.535 GB, free: 10.95 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.0008673/0.4877, allocations: 0.6529 MB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4878, allocations: 9.469 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.4879, allocations: 43.19 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.4882, allocations: 302.6 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4882, allocations: 1.594 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.4882, allocations: 2.688 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4884, allocations: 54.78 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4884, allocations: 4 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4885, allocations: 1.406 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4885, allocations: 3.984 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.4886, allocations: 26.36 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.4891, allocations: 394 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.4894, allocations: 44.88 kB / 0.5364 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.4894, allocations: 15.77 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.4895, allocations: 4.078 kB / 0.5365 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4895, allocations: 35.91 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4895, allocations: 0 / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006913/0.4902, allocations: 231.8 kB / 0.5367 GB, free: 9.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4903, allocations: 60.41 kB / 0.5368 GB, free: 9.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4915, allocations: 0.8647 MB / 0.5376 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4915, allocations: 25.7 kB / 0.5376 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.4917, allocations: 225.9 kB / 0.5379 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.4917, allocations: 14.95 kB / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.4918, allocations: 17.78 kB / 0.5379 GB, free: 8.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.492, allocations: 363.6 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.4921, allocations: 21.78 kB / 0.5383 GB, free: 8.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.4921, allocations: 19.48 kB / 0.5383 GB, free: 8.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.4923, allocations: 45.19 kB / 0.5383 GB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4923, allocations: 0 / 0.5383 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002651/0.4926, allocations: 123.2 kB / 0.5384 GB, free: 8.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4926, allocations: 8.625 kB / 0.5384 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4926, allocations: 3.984 kB / 0.5385 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4926, allocations: 5.406 kB / 0.5385 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.4927, allocations: 17.58 kB / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4927, allocations: 0 / 0.5385 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.4928, allocations: 11.06 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4928, allocations: 1.531 kB / 0.5385 GB, free: 8.094 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 (5): * Single equations (assignments): 5 * 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.0002366/0.4931, allocations: 210.6 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.4931, allocations: 41.59 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.4935, allocations: 143.3 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4935, allocations: 1.094 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4935, allocations: 0 / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4935, allocations: 5.062 kB / 0.5389 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.4942, allocations: 454.7 kB / 0.5393 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4942, allocations: 0 / 0.5393 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.4942, allocations: 13.45 kB / 0.5393 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4943, allocations: 5.094 kB / 0.5393 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4943, allocations: 3.938 kB / 0.5393 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4943, allocations: 5 kB / 0.5393 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4943, allocations: 0 / 0.5393 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.4946, allocations: 208.1 kB / 0.5395 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4947, allocations: 121.8 kB / 0.5396 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.4948, allocations: 5.094 kB / 0.5396 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4949, allocations: 10.97 kB / 0.5397 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.4949, allocations: 1.219 kB / 0.5397 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4949, allocations: 6.547 kB / 0.5397 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009266/0.4959, allocations: 0.6524 MB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4959, allocations: 0 / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.4962, allocations: 22.66 kB / 0.5403 GB, free: 6.773 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 (5): * Single equations (assignments): 5 * 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.001076/0.4973, allocations: 400.4 kB / 0.5407 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.4975, allocations: 51.59 kB / 0.5408 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4975, allocations: 0 / 0.5408 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.4976, allocations: 28.56 kB / 0.5408 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.498, allocations: 35.56 kB / 0.5408 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4994, allocations: 0.7954 MB / 0.5416 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.4999, allocations: 0.8284 MB / 0.5424 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.5, allocations: 13.98 kB / 0.5424 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.5, allocations: 16.56 kB / 0.5424 GB, free: 5.301 MB / 398.1 MB Notification: Performance of SimCode: time 6.02e-07/0.5001, allocations: 0 / 0.5424 GB, free: 5.301 MB / 398.1 MB Notification: Performance of Templates: time 0.005947/0.506, allocations: 1.476 MB / 0.5439 GB, free: 4.344 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches