Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007425/0.0007426, allocations: 95.56 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009419/0.0009419, allocations: 207.5 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.318/1.318, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1113, allocations: 63.56 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001984/0.1133, allocations: 1.318 MB / 485.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.115, allocations: 1.124 MB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.1151, allocations: 0 / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1153, allocations: 27.86 kB / 486.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1156, allocations: 67.81 kB / 486.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1159, allocations: 95.81 kB / 486.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.116, allocations: 63.84 kB / 486.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.1161, allocations: 15.97 kB / 486.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.1162, allocations: 19.88 kB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1163, allocations: 35.77 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1163, allocations: 4 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1165, allocations: 83.95 kB / 486.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.1166, allocations: 7.984 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1166, allocations: 53.5 kB / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1168, allocations: 103.9 kB / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1168, allocations: 0 / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1168, allocations: 7.875 kB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1169, allocations: 0 / 486.8 MB, free: 1.078 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.0004471/0.1173, allocations: 383.6 kB / 487.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1174, allocations: 12.88 kB / 487.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.1174, allocations: 8.844 kB / 487.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.1176, allocations: 194.7 kB / 487.3 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1176, allocations: 4.375 kB / 487.3 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1176, allocations: 4.375 kB / 487.3 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1178, allocations: 71.45 kB / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1178, allocations: 3.938 kB / 487.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.1179, allocations: 4 kB / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1179, allocations: 0 / 487.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.118, allocations: 31.97 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1184, allocations: 292.8 kB / 487.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1186, allocations: 46.5 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.1187, allocations: 24.94 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1187, allocations: 3.938 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1187, allocations: 30.56 kB / 487.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1187, allocations: 0 / 487.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005964/0.1193, allocations: 177.3 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1194, allocations: 77.11 kB / 488.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1196, allocations: 141.8 kB / 488.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1196, allocations: 25.7 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.1196, allocations: 104 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.1197, allocations: 11.81 kB / 488.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1197, allocations: 13.72 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1198, allocations: 326.8 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.1199, allocations: 19.98 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.12, allocations: 41.7 kB / 488.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1202, allocations: 65 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1202, allocations: 4 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.1204, allocations: 97.55 kB / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1204, allocations: 6.344 kB / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1204, allocations: 0 / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1204, allocations: 0 / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.1205, allocations: 15.98 kB / 488.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1205, allocations: 0 / 488.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.1206, allocations: 11.98 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1206, allocations: 7.938 kB / 489 MB, free: 14.62 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 0.0001323/0.1208, allocations: 113.8 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1208, allocations: 7.906 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1211, allocations: 113.9 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1211, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1211, allocations: 4 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1211, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1215, allocations: 370.5 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1216, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.1216, allocations: 23.92 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1216, allocations: 0 / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1216, allocations: 4 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.1217, allocations: 7.875 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1217, allocations: 3.938 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1219, allocations: 191.6 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.122, allocations: 89.02 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.122, allocations: 3.984 kB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.1221, allocations: 11.94 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.1221, allocations: 0 / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1221, allocations: 4 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.1222, allocations: 111.2 kB / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1222, allocations: 0 / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1225, allocations: 47.98 kB / 490 MB, free: 13.43 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.001111/0.1236, allocations: 484.5 kB / 490.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1239, allocations: 59.95 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1239, allocations: 0 / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.124, allocations: 31.98 kB / 490.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1243, allocations: 22.8 kB / 490.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.1247, allocations: 230.2 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.125, allocations: 0.6887 MB / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.125, allocations: 19.42 kB / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.125, allocations: 0 / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.003761/0.1288, allocations: 1.951 MB / 493.5 MB, free: 10.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches