Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007206/0.0007207, allocations: 96.94 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008262/0.0008261, allocations: 208.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1897/0.1897, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002452, allocations: 11.98 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1019, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001944/0.1039, allocations: 1.334 MB / 485.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.1049, allocations: 0.5262 MB / 485.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.105, allocations: 4 kB / 485.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1053, allocations: 119.8 kB / 485.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.1055, allocations: 111.7 kB / 485.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1058, allocations: 103.8 kB / 485.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.106, allocations: 87.86 kB / 486 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1061, allocations: 15.98 kB / 486 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.1062, allocations: 51.77 kB / 486.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1063, allocations: 75.78 kB / 486.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1064, allocations: 4 kB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.1065, allocations: 35.98 kB / 486.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1065, allocations: 27.86 kB / 486.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.1066, allocations: 65.38 kB / 486.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1067, allocations: 83.88 kB / 486.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1067, allocations: 0 / 486.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1067, allocations: 4 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1068, allocations: 4 kB / 486.4 MB, free: 1.492 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004828/0.1072, allocations: 431 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1073, allocations: 8.875 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.1073, allocations: 12.84 kB / 486.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1076, allocations: 207.9 kB / 487 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.1076, allocations: 384 / 487 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1076, allocations: 4.375 kB / 487 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1078, allocations: 69.77 kB / 487.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1078, allocations: 7.922 kB / 487.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1078, allocations: 4 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1078, allocations: 0 / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1079, allocations: 35.91 kB / 487.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.1084, allocations: 312.8 kB / 487.4 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1085, allocations: 46.56 kB / 487.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.1085, allocations: 20.94 kB / 487.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1086, allocations: 4 kB / 487.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1086, allocations: 38.5 kB / 487.6 MB, free: 156 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1086, allocations: 0 / 487.6 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009349/0.1095, allocations: 276.9 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1096, allocations: 51.41 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1098, allocations: 283.7 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1099, allocations: 29.7 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.1099, allocations: 116.1 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.11, allocations: 27.69 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.11, allocations: 17.7 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1101, allocations: 326.8 kB / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.1102, allocations: 31.98 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.1103, allocations: 39.97 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.1105, allocations: 76.83 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1105, allocations: 0 / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002358/0.1108, allocations: 129.4 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1108, allocations: 4 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1108, allocations: 0 / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1108, allocations: 4 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1109, allocations: 15.98 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1109, allocations: 4 kB / 489 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.111, allocations: 15.94 kB / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.111, allocations: 0 / 489 MB, free: 14.67 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 (8): * Single equations (assignments): 8 * 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 9.582e-05/0.1111, allocations: 137.8 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1111, allocations: 15.75 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.1115, allocations: 151.2 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1115, allocations: 8 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1115, allocations: 0 / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1115, allocations: 7.875 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.112, allocations: 439.3 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.112, allocations: 4 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.1121, allocations: 19.98 kB / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1121, allocations: 7.938 kB / 489.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1121, allocations: 4 kB / 489.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1121, allocations: 3.938 kB / 489.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1122, allocations: 0 / 489.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1124, allocations: 228.6 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.1125, allocations: 92.86 kB / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1125, allocations: 0 / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.1126, allocations: 11.98 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1126, allocations: 11.98 kB / 490.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.1127, allocations: 4 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.1128, allocations: 209.5 kB / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1128, allocations: 0 / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1131, allocations: 20 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001023/0.1141, allocations: 456.8 kB / 490.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1144, allocations: 75.95 kB / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1144, allocations: 0 / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1145, allocations: 51.91 kB / 490.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1148, allocations: 26.88 kB / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.1154, allocations: 385.2 kB / 491.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1157, allocations: 0.7296 MB / 492 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.1157, allocations: 15.44 kB / 492 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1157, allocations: 0 / 492 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.003636/0.1194, allocations: 1.918 MB / 494 MB, free: 9.668 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches