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.000785/0.000785, allocations: 94.34 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009728/0.0009729, allocations: 201.9 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.292/1.292, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1942/0.1942, allocations: 46.18 MB / 345.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.0002381, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 63.56 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001863/0.1078, allocations: 1.331 MB / 485.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1089, allocations: 0.5496 MB / 485.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.109, allocations: 0 / 485.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007322/0.1098, allocations: 451.2 kB / 486.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.1103, allocations: 279.4 kB / 486.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.1108, allocations: 163.4 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.1112, allocations: 159.8 kB / 486.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1113, allocations: 11.94 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1115, allocations: 103.7 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.1118, allocations: 199.6 kB / 486.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1118, allocations: 3.938 kB / 487 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.1119, allocations: 23.98 kB / 487 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.112, allocations: 87.69 kB / 487.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.1121, allocations: 120.7 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1124, allocations: 175.8 kB / 487.4 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1124, allocations: 0 / 487.4 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1124, allocations: 0 / 487.4 MB, free: 472 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1124, allocations: 0 / 487.4 MB, free: 472 kB / 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.0006446/0.1131, allocations: 0.5912 MB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1131, allocations: 8.875 kB / 488 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.1132, allocations: 40.38 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1134, allocations: 300.2 kB / 488.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1135, allocations: 384 / 488.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1135, allocations: 8.375 kB / 488.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1137, allocations: 53.8 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1137, allocations: 3.938 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1137, allocations: 0 / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1137, allocations: 0 / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.1138, allocations: 35.92 kB / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.1143, allocations: 396.7 kB / 488.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.1144, allocations: 30.58 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.1145, allocations: 24.91 kB / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1145, allocations: 0 / 488.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1145, allocations: 34.56 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.1145, allocations: 0 / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002657/0.1148, allocations: 105.1 kB / 489 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1148, allocations: 55.53 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.1156, allocations: 0.8738 MB / 489.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1156, allocations: 29.64 kB / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1158, allocations: 220.1 kB / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.1158, allocations: 7.906 kB / 490.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.1158, allocations: 13.72 kB / 490.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1159, allocations: 358.7 kB / 490.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.116, allocations: 15.98 kB / 490.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.116, allocations: 15.98 kB / 490.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.1161, allocations: 32.78 kB / 490.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1162, allocations: 0 / 490.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001569/0.1163, allocations: 101.2 kB / 490.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1163, allocations: 6.188 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1163, allocations: 0 / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1164, allocations: 3.984 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.1164, allocations: 12 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1165, allocations: 0 / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1165, allocations: 3.938 kB / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1165, allocations: 4 kB / 490.7 MB, free: 12.89 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.0001652/0.1167, allocations: 213.7 kB / 490.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.1167, allocations: 43.44 kB / 490.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.117, allocations: 116.7 kB / 491.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.117, allocations: 7.984 kB / 491.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.117, allocations: 0 / 491.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.117, allocations: 0 / 491.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1172, allocations: 285.4 kB / 491.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1173, allocations: 0 / 491.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.1173, allocations: 12.03 kB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1173, allocations: 0 / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1173, allocations: 4 kB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1173, allocations: 0 / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1173, allocations: 0 / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1175, allocations: 202.8 kB / 491.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.1176, allocations: 112.6 kB / 491.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1176, allocations: 4 kB / 491.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.1177, allocations: 0 / 491.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1177, allocations: 4 kB / 491.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1178, allocations: 0 / 491.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005713/0.1183, allocations: 0.6589 MB / 492.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1183, allocations: 0 / 492.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1186, allocations: 12 kB / 492.3 MB, free: 11.14 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.0007677/0.1194, allocations: 355.5 kB / 492.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1195, allocations: 27.98 kB / 492.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1195, allocations: 0 / 492.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.1196, allocations: 19.92 kB / 492.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1199, allocations: 22.31 kB / 492.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.121, allocations: 0.9015 MB / 493.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1214, allocations: 0.8185 MB / 494.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1215, allocations: 15.44 kB / 494.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1215, allocations: 0 / 494.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of Templates: time 0.006281/0.1278, allocations: 3.423 MB / 497.9 MB, free: 5.602 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