Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001077, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 78.75 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002806/0.1045, allocations: 1.666 MB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.1054, allocations: 0.5883 MB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.1055, allocations: 4 kB / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.106, allocations: 459.1 kB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.1064, allocations: 291.3 kB / 484.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.1068, allocations: 183.4 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.107, allocations: 179.6 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1072, allocations: 32.2 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.96e-05/0.1073, allocations: 115.7 kB / 485 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1075, allocations: 219.6 kB / 485.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1075, allocations: 4 kB / 485.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1076, allocations: 51.92 kB / 485.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-05/0.1077, allocations: 91.61 kB / 485.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.1078, allocations: 107 kB / 485.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1081, allocations: 278.9 kB / 485.7 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1081, allocations: 0 / 485.7 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1081, allocations: 0 / 485.7 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1081, allocations: 0 / 485.7 MB, free: 304 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006352/0.1087, allocations: 0.6453 MB / 486.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1088, allocations: 16.03 kB / 486.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.1088, allocations: 40.38 kB / 486.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1091, allocations: 304.1 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1091, allocations: 4.375 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1091, allocations: 8.375 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1093, allocations: 65.78 kB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1093, allocations: 4 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1093, allocations: 0 / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1093, allocations: 0 / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1095, allocations: 51.89 kB / 486.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.11, allocations: 416.5 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1103, allocations: 70.52 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.1103, allocations: 28.97 kB / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1104, allocations: 4 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1104, allocations: 34.55 kB / 487.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.1104, allocations: 0 / 487.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001366/0.1118, allocations: 496 kB / 487.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1118, allocations: 55.34 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.1126, allocations: 0.8653 MB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1126, allocations: 29.7 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1127, allocations: 223.9 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1128, allocations: 31.56 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1128, allocations: 25.7 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1129, allocations: 366.8 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1131, allocations: 55.91 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1132, allocations: 55.95 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.1134, allocations: 125 kB / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1134, allocations: 0 / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003248/0.1138, allocations: 201 kB / 489.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1138, allocations: 8 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1138, allocations: 0 / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1138, allocations: 0 / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1139, allocations: 31.86 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.114, allocations: 3.984 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.114, allocations: 12 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1141, allocations: 7.938 kB / 489.9 MB, free: 11.84 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.0001718/0.1142, allocations: 217.8 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.1143, allocations: 47.44 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.1147, allocations: 233.3 kB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1147, allocations: 3.938 kB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1147, allocations: 4 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1148, allocations: 4 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.1155, allocations: 0.5898 MB / 491 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1155, allocations: 0 / 491 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/0.1156, allocations: 27.92 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1156, allocations: 8.062 kB / 491 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1157, allocations: 3.984 kB / 491 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1157, allocations: 4.094 kB / 491.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1157, allocations: 4.125 kB / 491.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.116, allocations: 312.5 kB / 491.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.1161, allocations: 116.5 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1162, allocations: 7.984 kB / 491.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1163, allocations: 11.98 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1163, allocations: 7.984 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1163, allocations: 8 kB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005167/0.1169, allocations: 0.6472 MB / 492.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1169, allocations: 0 / 492.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1171, allocations: 39.98 kB / 492.2 MB, free: 9.441 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.0009244/0.1181, allocations: 446.7 kB / 492.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.1184, allocations: 139.8 kB / 492.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1184, allocations: 0 / 492.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1185, allocations: 67.89 kB / 492.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1189, allocations: 37.8 kB / 492.9 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.12, allocations: 0.8713 MB / 493.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1203, allocations: 0.8338 MB / 494.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.396e-05/0.1204, allocations: 32.52 kB / 494.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1205, allocations: 23.42 kB / 494.6 MB, free: 7.105 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1205, allocations: 0 / 494.6 MB, free: 7.105 MB / 366.1 MB Notification: Performance of Templates: time 0.004875/0.1254, allocations: 1.93 MB / 496.6 MB, free: 5.184 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches