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.0013/0.0013, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247 MB, free: 8.902 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.1 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 76.78 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002988/0.1191, allocations: 1.673 MB / 481.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.1201, allocations: 0.5612 MB / 482.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.1201, allocations: 0 / 482.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.1207, allocations: 451.2 kB / 482.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.1211, allocations: 287.4 kB / 482.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1215, allocations: 159.3 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1217, allocations: 163.7 kB / 483.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.1218, allocations: 15.98 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1219, allocations: 103.7 kB / 483.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1221, allocations: 207.6 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1221, allocations: 0 / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.1222, allocations: 19.98 kB / 483.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1223, allocations: 83.69 kB / 483.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.1224, allocations: 99 kB / 483.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1226, allocations: 183.8 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1226, allocations: 0 / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1226, allocations: 0 / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1226, allocations: 0 / 483.9 MB, free: 1.734 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.0006833/0.1233, allocations: 0.6338 MB / 484.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1234, allocations: 8.875 kB / 484.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.1234, allocations: 40.47 kB / 484.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1237, allocations: 296.1 kB / 484.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1237, allocations: 4.375 kB / 484.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1238, allocations: 8.312 kB / 484.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1239, allocations: 53.8 kB / 484.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1239, allocations: 0 / 484.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1239, allocations: 0 / 484.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.124, allocations: 4 kB / 484.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.649e-05/0.1241, allocations: 31.92 kB / 485 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.1246, allocations: 384.7 kB / 485.3 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.1247, allocations: 30.58 kB / 485.4 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1247, allocations: 16.91 kB / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1248, allocations: 4 kB / 485.4 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1248, allocations: 38.5 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1248, allocations: 0 / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003096/0.1251, allocations: 97.16 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1252, allocations: 59.41 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.126, allocations: 0.8659 MB / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.126, allocations: 29.83 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1261, allocations: 224.1 kB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1262, allocations: 7.906 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1262, allocations: 9.719 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1264, allocations: 370.7 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/0.1264, allocations: 8 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.1265, allocations: 11.98 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.727e-05/0.1265, allocations: 36.84 kB / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1266, allocations: 0 / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001484/0.1267, allocations: 85.22 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1268, allocations: 11.98 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1268, allocations: 0 / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1268, allocations: 0 / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.1269, allocations: 7.984 kB / 487.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1269, allocations: 4 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.1269, allocations: 11.94 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1269, allocations: 0 / 487.3 MB, free: 14.15 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.00019/0.1271, allocations: 217.6 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.1272, allocations: 39.53 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.1274, allocations: 112.7 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1274, allocations: 0 / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1274, allocations: 3.938 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1275, allocations: 0 / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.1277, allocations: 293.5 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1277, allocations: 0 / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.1278, allocations: 4 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1278, allocations: 0 / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1278, allocations: 0 / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1278, allocations: 0 / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1278, allocations: 3.984 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.128, allocations: 194.9 kB / 488.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.1281, allocations: 112.5 kB / 488.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1282, allocations: 7.984 kB / 488.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1282, allocations: 0 / 488.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.1282, allocations: 0 / 488.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1283, allocations: 4 kB / 488.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005919/0.1289, allocations: 0.655 MB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1289, allocations: 0 / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1291, allocations: 16 kB / 488.9 MB, free: 12.41 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.0008246/0.13, allocations: 351.7 kB / 489.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1301, allocations: 19.98 kB / 489.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1301, allocations: 4.062 kB / 489.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.1302, allocations: 19.86 kB / 489.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1306, allocations: 24.5 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1317, allocations: 0.8885 MB / 490.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.1321, allocations: 0.8145 MB / 491 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1322, allocations: 15.44 kB / 491 MB, free: 10.33 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1322, allocations: 4 kB / 491 MB, free: 10.33 MB / 366.1 MB Notification: Performance of Templates: time 0.006075/0.1383, allocations: 3.497 MB / 494.5 MB, free: 6.82 MB / 366.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