Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009699/0.0009699, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002562, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001878/0.106, allocations: 1.392 MB / 485.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.1069, allocations: 0.5417 MB / 485.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.107, allocations: 3.938 kB / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.1073, allocations: 67.84 kB / 485.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1075, allocations: 91.77 kB / 485.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1078, allocations: 119.5 kB / 485.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.108, allocations: 83.81 kB / 486 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.1081, allocations: 20.22 kB / 486 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.1082, allocations: 35.78 kB / 486.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.1083, allocations: 55.81 kB / 486.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1083, allocations: 0 / 486.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.1084, allocations: 43.98 kB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.1085, allocations: 27.91 kB / 486.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.1085, allocations: 57.44 kB / 486.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.1087, allocations: 83.81 kB / 486.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1087, allocations: 3.984 kB / 486.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1087, allocations: 0 / 486.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1087, allocations: 4 kB / 486.4 MB, free: 1.473 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004581/0.1092, allocations: 411.2 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1092, allocations: 8.031 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1093, allocations: 12.83 kB / 486.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1094, allocations: 198.7 kB / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1095, allocations: 4.375 kB / 487 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1095, allocations: 8.359 kB / 487 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1097, allocations: 77.73 kB / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1097, allocations: 0 / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1097, allocations: 0 / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1097, allocations: 0 / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1099, allocations: 47.97 kB / 487.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1102, allocations: 312.7 kB / 487.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1105, allocations: 58.55 kB / 487.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.1106, allocations: 36.97 kB / 487.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1106, allocations: 0 / 487.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1106, allocations: 30.56 kB / 487.5 MB, free: 136 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.1106, allocations: 0 / 487.5 MB, free: 136 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001555/0.1122, allocations: 489.1 kB / 488 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1122, allocations: 55.34 kB / 488.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1124, allocations: 210.8 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1124, allocations: 37.64 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.1125, allocations: 112 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1126, allocations: 39.44 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1126, allocations: 9.719 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1127, allocations: 326.8 kB / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.1129, allocations: 51.97 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.113, allocations: 52.08 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1133, allocations: 121 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1133, allocations: 4 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003414/0.1136, allocations: 161.6 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1137, allocations: 4 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1137, allocations: 0 / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1137, allocations: 4 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1138, allocations: 35.91 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1138, allocations: 0 / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.1139, allocations: 19.98 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1139, allocations: 4 kB / 489.2 MB, free: 14.37 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 (11): * Single equations (assignments): 11 * 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.000102/0.114, allocations: 121.8 kB / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.1141, allocations: 15.81 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.1145, allocations: 194.8 kB / 489.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1145, allocations: 3.938 kB / 489.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1145, allocations: 0 / 489.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1145, allocations: 0 / 489.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.1152, allocations: 495.9 kB / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1152, allocations: 7.984 kB / 490.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1153, allocations: 27.98 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1153, allocations: 0 / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1153, allocations: 4 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1153, allocations: 0 / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1154, allocations: 0 / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.1157, allocations: 281 kB / 490.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1158, allocations: 92.91 kB / 490.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1158, allocations: 7.984 kB / 490.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1159, allocations: 12 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.116, allocations: 8.078 kB / 490.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.116, allocations: 7.938 kB / 490.5 MB, free: 13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1161, allocations: 172.7 kB / 490.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1161, allocations: 0 / 490.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1164, allocations: 24 kB / 490.7 MB, free: 12.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001014/0.1174, allocations: 446.7 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1178, allocations: 123.8 kB / 491.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1178, allocations: 7.938 kB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.118, allocations: 63.89 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1183, allocations: 31.92 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.1189, allocations: 365.3 kB / 491.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1192, allocations: 0.7121 MB / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.1192, allocations: 19.44 kB / 492.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1193, allocations: 0 / 492.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Templates: time 0.003738/0.123, allocations: 1.941 MB / 494.4 MB, free: 9.207 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches