Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3666, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003059/0.3697, allocations: 1.659 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3708, allocations: 0.5774 MB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.3709, allocations: 1.031 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.3715, allocations: 452.7 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.372, allocations: 293 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.3725, allocations: 180.4 kB / 0.5347 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.3728, allocations: 169.6 kB / 0.5349 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3729, allocations: 26.16 kB / 0.5349 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.373, allocations: 102.4 kB / 0.535 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.3733, allocations: 219 kB / 0.5352 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3733, allocations: 3.656 kB / 0.5352 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.3734, allocations: 41.17 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3735, allocations: 83.56 kB / 0.5354 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.3736, allocations: 98.69 kB / 0.5355 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.374, allocations: 263.4 kB / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.374, allocations: 0 / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.374, allocations: 0 / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.374, allocations: 1.094 kB / 0.5357 GB, free: 10.88 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.0007343/0.3747, allocations: 0.6435 MB / 0.5363 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3748, allocations: 8.719 kB / 0.5363 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.3749, allocations: 43.66 kB / 0.5364 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3752, allocations: 302.6 kB / 0.5367 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3752, allocations: 6.594 kB / 0.5367 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3752, allocations: 2.5 kB / 0.5367 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3754, allocations: 59.61 kB / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3754, allocations: 0 / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3754, allocations: 1.406 kB / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3754, allocations: 1.062 kB / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3755, allocations: 31.78 kB / 0.5368 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.3761, allocations: 401 kB / 0.5372 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.3763, allocations: 45.92 kB / 0.5372 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.3764, allocations: 19.27 kB / 0.5372 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3764, allocations: 5.531 kB / 0.5372 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3764, allocations: 38.64 kB / 0.5373 GB, free: 9.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3764, allocations: 1.188 kB / 0.5373 GB, free: 9.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006242/0.3771, allocations: 231.8 kB / 0.5375 GB, free: 9.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3771, allocations: 56.8 kB / 0.5375 GB, free: 9.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.378, allocations: 0.8672 MB / 0.5384 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3781, allocations: 25.7 kB / 0.5384 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3782, allocations: 229.8 kB / 0.5386 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.3783, allocations: 14.66 kB / 0.5386 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.3783, allocations: 17.92 kB / 0.5387 GB, free: 8.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3785, allocations: 363.3 kB / 0.539 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.3786, allocations: 20.98 kB / 0.539 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.3786, allocations: 23.88 kB / 0.539 GB, free: 8.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3788, allocations: 60.45 kB / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3788, allocations: 0 / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002149/0.379, allocations: 122.4 kB / 0.5392 GB, free: 8.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.379, allocations: 5.719 kB / 0.5392 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3791, allocations: 3.984 kB / 0.5392 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.3791, allocations: 0 / 0.5392 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.3792, allocations: 13.94 kB / 0.5392 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3792, allocations: 1.062 kB / 0.5392 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.3792, allocations: 11.23 kB / 0.5393 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3792, allocations: 5.188 kB / 0.5393 GB, free: 8.035 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.0001843/0.3794, allocations: 211.6 kB / 0.5395 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.3795, allocations: 44.92 kB / 0.5395 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.3798, allocations: 143.8 kB / 0.5396 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3798, allocations: 0 / 0.5396 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3798, allocations: 1.625 kB / 0.5396 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3798, allocations: 3.938 kB / 0.5396 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.3804, allocations: 467.2 kB / 0.5401 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3804, allocations: 1.094 kB / 0.5401 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.3805, allocations: 8.875 kB / 0.5401 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3805, allocations: 5.109 kB / 0.5401 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3805, allocations: 5.031 kB / 0.5401 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3805, allocations: 3.938 kB / 0.5401 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3805, allocations: 1.125 kB / 0.5401 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.3808, allocations: 230.1 kB / 0.5403 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.3809, allocations: 109.6 kB / 0.5404 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.3809, allocations: 5.375 kB / 0.5404 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.381, allocations: 2.438 kB / 0.5404 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.381, allocations: 6.641 kB / 0.5405 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3811, allocations: 9.25 kB / 0.5405 GB, free: 7.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006714/0.3817, allocations: 0.6544 MB / 0.5411 GB, free: 6.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3817, allocations: 0 / 0.5411 GB, free: 6.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.382, allocations: 30.02 kB / 0.5411 GB, free: 6.695 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.0009561/0.383, allocations: 396.4 kB / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.3832, allocations: 59.06 kB / 0.5416 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3832, allocations: 0 / 0.5416 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.3833, allocations: 29.27 kB / 0.5416 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3837, allocations: 32.33 kB / 0.5416 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3849, allocations: 0.8272 MB / 0.5424 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3854, allocations: 0.8326 MB / 0.5432 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.3854, allocations: 13.31 kB / 0.5433 GB, free: 5.195 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3854, allocations: 0 / 0.5433 GB, free: 5.195 MB / 398.1 MB Notification: Performance of Templates: time 0.007045/0.3925, allocations: 3.801 MB / 0.547 GB, free: 1.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches