Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007204/0.0007205, allocations: 94.55 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008542/0.0008543, allocations: 202.2 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1757/0.1757, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002706, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08756, allocations: 63.56 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001575/0.08917, allocations: 1.326 MB / 484.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.08996, allocations: 0.5223 MB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.09001, allocations: 4 kB / 484.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.09047, allocations: 447.2 kB / 485.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.0908, allocations: 279.5 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.09109, allocations: 111.4 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.09127, allocations: 159.7 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.09135, allocations: 4.188 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.09146, allocations: 107.7 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.09166, allocations: 207.6 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.09168, allocations: 0 / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.09174, allocations: 27.98 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.982e-05/0.09184, allocations: 79.62 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.09192, allocations: 120.8 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.09213, allocations: 231 kB / 486.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09214, allocations: 7.938 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09215, allocations: 0 / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.09216, allocations: 4 kB / 486.7 MB, free: 0.5586 MB / 350.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.0005319/0.09269, allocations: 0.5875 MB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.09273, allocations: 8.875 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.09278, allocations: 44.38 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.09301, allocations: 296.1 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.09302, allocations: 384 / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.09304, allocations: 8.312 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.09316, allocations: 49.62 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.09318, allocations: 0 / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.09319, allocations: 7.984 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.0932, allocations: 0 / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.09329, allocations: 23.98 kB / 487.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.09365, allocations: 368.8 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.09375, allocations: 42.5 kB / 488.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.0938, allocations: 12.92 kB / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.09382, allocations: 0 / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.09385, allocations: 34.55 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.09386, allocations: 0 / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002363/0.0941, allocations: 109.2 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.09413, allocations: 55.34 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.09489, allocations: 0.8653 MB / 489.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.09491, allocations: 25.7 kB / 489.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.09506, allocations: 220.1 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.09508, allocations: 11.91 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.0951, allocations: 9.719 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.09522, allocations: 358.7 kB / 489.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.09528, allocations: 20.02 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.09532, allocations: 8 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.814e-05/0.0954, allocations: 28.84 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09541, allocations: 0 / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001413/0.09556, allocations: 101.1 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.09558, allocations: 8 kB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.09559, allocations: 3.984 kB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.09561, allocations: 3.938 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.09567, allocations: 8 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.09568, allocations: 0 / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.09573, allocations: 4 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.09574, allocations: 0 / 490 MB, free: 13.04 MB / 366.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.0001537/0.0959, allocations: 217.7 kB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.09596, allocations: 39.53 kB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.09615, allocations: 112.5 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.09616, allocations: 7.984 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.09617, allocations: 0 / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.09618, allocations: 0 / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.09642, allocations: 289.4 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.09643, allocations: 3.938 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.09648, allocations: 7.984 kB / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.09649, allocations: 4 kB / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.0965, allocations: 0 / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.0965, allocations: 0 / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.09651, allocations: 0 / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.09668, allocations: 191 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.09676, allocations: 116.5 kB / 490.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.09679, allocations: 0 / 490.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.09687, allocations: 0 / 490.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.09688, allocations: 4 kB / 490.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.09689, allocations: 0 / 490.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005549/0.09745, allocations: 0.655 MB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.09746, allocations: 4 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.09771, allocations: 19.97 kB / 491.6 MB, free: 11.29 MB / 366.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.0007205/0.09843, allocations: 353.2 kB / 491.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.09856, allocations: 23.98 kB / 492 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.09857, allocations: 0 / 492 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.09863, allocations: 19.92 kB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.09896, allocations: 18.31 kB / 492 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.09993, allocations: 0.8533 MB / 492.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1003, allocations: 0.8223 MB / 493.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.1003, allocations: 11.97 kB / 493.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.1003, allocations: 11.44 kB / 493.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1003, allocations: 0 / 493.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of Templates: time 0.003592/0.1039, allocations: 1.169 MB / 494.9 MB, free: 8.074 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches