Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001676, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 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.218/0.218, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3931, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003157/0.3963, allocations: 1.61 MB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3974, allocations: 0.5659 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.3975, allocations: 0 / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.3982, allocations: 449.2 kB / 0.5342 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005549/0.3988, allocations: 296.6 kB / 0.5345 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.3993, allocations: 171.8 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.3995, allocations: 175.8 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3996, allocations: 14.86 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3998, allocations: 105.5 kB / 0.5349 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.4001, allocations: 207.2 kB / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.4001, allocations: 6.156 kB / 0.5352 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.4002, allocations: 31.23 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.4003, allocations: 78.78 kB / 0.5353 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.061e-05/0.4004, allocations: 106.4 kB / 0.5354 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.4008, allocations: 243.4 kB / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4008, allocations: 0 / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4008, allocations: 0 / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.4008, allocations: 1.25 kB / 0.5356 GB, free: 10.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000811/0.4016, allocations: 0.6302 MB / 0.5362 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4017, allocations: 16.84 kB / 0.5362 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.4018, allocations: 47.25 kB / 0.5363 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.4021, allocations: 290.6 kB / 0.5365 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4021, allocations: 5.656 kB / 0.5365 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.4021, allocations: 1.75 kB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4023, allocations: 57.3 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4023, allocations: 0 / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4023, allocations: 3.984 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4023, allocations: 1.125 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.4024, allocations: 25.95 kB / 0.5366 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.403, allocations: 396.8 kB / 0.537 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/0.4031, allocations: 29.42 kB / 0.537 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.4032, allocations: 14.97 kB / 0.5371 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.4032, allocations: 5.141 kB / 0.5371 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4032, allocations: 39.66 kB / 0.5371 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.4032, allocations: 0 / 0.5371 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002937/0.4035, allocations: 108.4 kB / 0.5372 GB, free: 9.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4036, allocations: 51.41 kB / 0.5373 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.4047, allocations: 0.8675 MB / 0.5381 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4047, allocations: 25.7 kB / 0.5381 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.4049, allocations: 225.1 kB / 0.5383 GB, free: 8.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.4049, allocations: 9.031 kB / 0.5383 GB, free: 8.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.4049, allocations: 17 kB / 0.5384 GB, free: 8.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4051, allocations: 363.7 kB / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.4052, allocations: 9.625 kB / 0.5387 GB, free: 8.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.4052, allocations: 11.33 kB / 0.5387 GB, free: 8.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.4053, allocations: 25.38 kB / 0.5388 GB, free: 8.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4053, allocations: 9.219 kB / 0.5388 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001524/0.4055, allocations: 90.77 kB / 0.5388 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4055, allocations: 5.312 kB / 0.5389 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4055, allocations: 0 / 0.5389 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4055, allocations: 1.312 kB / 0.5389 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.4056, allocations: 4.344 kB / 0.5389 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4056, allocations: 0 / 0.5389 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.4057, allocations: 5.344 kB / 0.5389 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4057, allocations: 1.562 kB / 0.5389 GB, free: 8.285 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 (2): * Single equations (assignments): 2 * 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.0002037/0.4059, allocations: 226.1 kB / 0.5391 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.406, allocations: 37.62 kB / 0.5391 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.4062, allocations: 113.1 kB / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4062, allocations: 0 / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4062, allocations: 1.781 kB / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4062, allocations: 0 / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.4065, allocations: 284 kB / 0.5395 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4065, allocations: 0 / 0.5395 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.4066, allocations: 8.062 kB / 0.5395 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4066, allocations: 5.031 kB / 0.5395 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4066, allocations: 0 / 0.5395 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4066, allocations: 5.109 kB / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4066, allocations: 0 / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.4069, allocations: 193.6 kB / 0.5397 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.407, allocations: 109.9 kB / 0.5398 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.407, allocations: 9.234 kB / 0.5398 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.4071, allocations: 1.75 kB / 0.5398 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.4071, allocations: 1.75 kB / 0.5398 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4071, allocations: 0 / 0.5398 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007796/0.4079, allocations: 0.6579 MB / 0.5405 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4079, allocations: 0 / 0.5405 GB, free: 7.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.4082, allocations: 15.5 kB / 0.5405 GB, free: 7.141 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 (2): * Single equations (assignments): 2 * 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.0009313/0.4091, allocations: 363.4 kB / 0.5408 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.4093, allocations: 22.92 kB / 0.5408 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4093, allocations: 1.188 kB / 0.5408 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.4093, allocations: 15.98 kB / 0.5409 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.4098, allocations: 25.28 kB / 0.5409 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4111, allocations: 0.8057 MB / 0.5417 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.4116, allocations: 0.8177 MB / 0.5425 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.4116, allocations: 15.73 kB / 0.5425 GB, free: 5.688 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4116, allocations: 3.938 kB / 0.5425 GB, free: 5.684 MB / 398.1 MB Notification: Performance of Templates: time 0.007564/0.4192, allocations: 3.529 MB / 0.5459 GB, free: 2.848 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches