Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008629/0.0008629, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 200.1 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002498/0.0002498, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1001, allocations: 63.57 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001916/0.102, allocations: 1.314 MB / 485.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1037, allocations: 1.121 MB / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1038, allocations: 3.938 kB / 486.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.104, allocations: 27.86 kB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1043, allocations: 67.81 kB / 486.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1046, allocations: 103.7 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1048, allocations: 55.84 kB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1049, allocations: 19.97 kB / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.1049, allocations: 19.88 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1051, allocations: 39.83 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1051, allocations: 3.938 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1053, allocations: 83.95 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.1054, allocations: 11.98 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.1054, allocations: 49.5 kB / 486.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1056, allocations: 95.86 kB / 486.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1057, allocations: 4 kB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1057, allocations: 0 / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1057, allocations: 0 / 486.7 MB, free: 1.121 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.0004593/0.1061, allocations: 395.5 kB / 487.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1062, allocations: 8.875 kB / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.1062, allocations: 8.844 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.1064, allocations: 196.2 kB / 487.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.1065, allocations: 4.312 kB / 487.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1065, allocations: 4.375 kB / 487.3 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1066, allocations: 67.52 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1067, allocations: 4 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1067, allocations: 7.938 kB / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1067, allocations: 4 kB / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.1068, allocations: 27.97 kB / 487.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.1072, allocations: 284.8 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1074, allocations: 46.56 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.1075, allocations: 28.88 kB / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1075, allocations: 0 / 487.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1075, allocations: 34.56 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.023e-06/0.1075, allocations: 0 / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005919/0.1081, allocations: 181.4 kB / 488 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1082, allocations: 81.11 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1083, allocations: 144.5 kB / 488.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1084, allocations: 25.7 kB / 488.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.1084, allocations: 100 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.1085, allocations: 11.81 kB / 488.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.1085, allocations: 13.72 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1086, allocations: 322.8 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.1087, allocations: 27.98 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.1088, allocations: 37.7 kB / 488.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1089, allocations: 60.81 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.109, allocations: 4.031 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002045/0.1092, allocations: 97.52 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1092, allocations: 4 kB / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1092, allocations: 0 / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1092, allocations: 0 / 488.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.1093, allocations: 19.98 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1093, allocations: 0 / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.1094, allocations: 11.98 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1094, allocations: 3.938 kB / 489 MB, free: 14.66 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 (5): * Single equations (assignments): 5 * 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 7.881e-05/0.1095, allocations: 113.8 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.1095, allocations: 7.906 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1098, allocations: 109.9 kB / 489.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1098, allocations: 4 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1098, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1098, allocations: 0 / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.1102, allocations: 370.5 kB / 489.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1102, allocations: 384 / 489.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.1103, allocations: 19.92 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1103, allocations: 3.938 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1103, allocations: 4 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.1103, allocations: 3.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1104, allocations: 4 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1106, allocations: 191.4 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.1107, allocations: 85.02 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1107, allocations: 7.922 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1108, allocations: 11.94 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1108, allocations: 8 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1108, allocations: 0 / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.888e-05/0.1109, allocations: 117.1 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1109, allocations: 0 / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1112, allocations: 39.98 kB / 490 MB, free: 13.48 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 (5): * Single equations (assignments): 5 * 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.001087/0.1123, allocations: 491.2 kB / 490.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1125, allocations: 67.95 kB / 490.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1125, allocations: 0 / 490.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.1126, allocations: 27.98 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1129, allocations: 19.92 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.1134, allocations: 226.3 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.1136, allocations: 0.6926 MB / 491.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.1137, allocations: 19.42 kB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1137, allocations: 0 / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.003785/0.1175, allocations: 1.952 MB / 493.5 MB, free: 10.1 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches