Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001026, 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.001378/0.001378, 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.286/1.286, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 75.83 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1179, allocations: 62.46 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002893/0.1209, allocations: 1.584 MB / 483.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.1218, allocations: 0.5416 MB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1218, allocations: 0 / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.122, allocations: 27.78 kB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1223, allocations: 75.69 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1226, allocations: 115.3 kB / 483.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1228, allocations: 67.78 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.1229, allocations: 11.98 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.1229, allocations: 19.94 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.123, allocations: 23.84 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.123, allocations: 4 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.1231, allocations: 35.98 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1231, allocations: 15.92 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.1232, allocations: 19.86 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1233, allocations: 79.73 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1234, allocations: 3.938 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1234, allocations: 4 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1234, allocations: 0 / 484.1 MB, free: 1.891 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.0004328/0.1238, allocations: 383.1 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1239, allocations: 8.031 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.1239, allocations: 12.84 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1241, allocations: 188.2 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1241, allocations: 8.375 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1241, allocations: 384 / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1243, allocations: 57.8 kB / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1243, allocations: 3.906 kB / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1243, allocations: 3.984 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1243, allocations: 0 / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.1244, allocations: 27.92 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.1248, allocations: 276.9 kB / 485 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.125, allocations: 50.55 kB / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.125, allocations: 20.8 kB / 485.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.125, allocations: 4.078 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.1251, allocations: 34.5 kB / 485.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1251, allocations: 0 / 485.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005273/0.1256, allocations: 161.1 kB / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.1257, allocations: 55.41 kB / 485.4 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1258, allocations: 145.2 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1258, allocations: 29.7 kB / 485.5 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.1259, allocations: 96.12 kB / 485.6 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1259, allocations: 11.81 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1259, allocations: 21.7 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1261, allocations: 318.8 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.1261, allocations: 23.98 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.1262, allocations: 23.97 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1263, allocations: 52.83 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1264, allocations: 0 / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000172/0.1265, allocations: 85.5 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1266, allocations: 8 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1266, allocations: 4 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1266, allocations: 0 / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.1267, allocations: 12 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1267, allocations: 4 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.1267, allocations: 4.234 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1267, allocations: 8 kB / 486.2 MB, free: 15.57 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 8.252e-05/0.1268, allocations: 117.8 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1269, allocations: 7.906 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.1271, allocations: 109.8 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1271, allocations: 0 / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1271, allocations: 0 / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1271, allocations: 0 / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.1275, allocations: 354.4 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1275, allocations: 0 / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.1276, allocations: 15.98 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1276, allocations: 7.938 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1276, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1276, allocations: 3.938 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1276, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1279, allocations: 187.4 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1279, allocations: 81.11 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1279, allocations: 3.984 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.128, allocations: 11.94 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.128, allocations: 0 / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1281, allocations: 4 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.147e-05/0.1281, allocations: 115.2 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1281, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1284, allocations: 20 kB / 487.2 MB, free: 14.44 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.0009028/0.1293, allocations: 410.1 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1295, allocations: 59.89 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1295, allocations: 0 / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.1296, allocations: 27.98 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.13, allocations: 23.53 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.1304, allocations: 182 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1307, allocations: 0.7002 MB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.1307, allocations: 11.98 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1308, allocations: 15.38 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1308, allocations: 0 / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.003566/0.1344, allocations: 1.114 MB / 489.7 MB, free: 12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches