Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.1 MB / 343.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 80.64 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 62.44 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002996/0.1214, allocations: 1.641 MB / 480.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1231, allocations: 1.14 MB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.1232, allocations: 0 / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1234, allocations: 15.92 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1237, allocations: 67.75 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.124, allocations: 87.34 kB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1241, allocations: 59.83 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.1242, allocations: 16 kB / 482.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.1243, allocations: 23.84 kB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1244, allocations: 31.86 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1245, allocations: 4 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.1247, allocations: 91.88 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.1247, allocations: 23.86 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.1248, allocations: 19.86 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.125, allocations: 135.7 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1251, allocations: 7.938 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1251, allocations: 0 / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1251, allocations: 0 / 482.6 MB, free: 2.367 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.0005304/0.1256, allocations: 391.5 kB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1257, allocations: 12.88 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1257, allocations: 8.859 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1259, allocations: 204.1 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1259, allocations: 4.359 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.126, allocations: 384 / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1261, allocations: 75.53 kB / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1262, allocations: 0 / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1262, allocations: 0 / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1262, allocations: 0 / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1263, allocations: 27.91 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1267, allocations: 276.9 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1269, allocations: 42.56 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.127, allocations: 20.88 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.127, allocations: 0 / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1271, allocations: 30.56 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1271, allocations: 3.938 kB / 483.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006011/0.1277, allocations: 145.3 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1277, allocations: 81.11 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1279, allocations: 152.4 kB / 484.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.128, allocations: 25.7 kB / 484.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.128, allocations: 92.14 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1281, allocations: 15.7 kB / 484.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1281, allocations: 21.72 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1282, allocations: 326.8 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.1283, allocations: 15.98 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.1284, allocations: 33.7 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1286, allocations: 40.83 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1286, allocations: 4.031 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000202/0.1288, allocations: 77.67 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1288, allocations: 7.938 kB / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1288, allocations: 4 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1288, allocations: 0 / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.1289, allocations: 11.98 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1289, allocations: 0 / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.129, allocations: 4 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.129, allocations: 15.88 kB / 484.8 MB, free: 0 / 350.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.0001005/0.1291, allocations: 117.8 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1291, allocations: 3.906 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.1294, allocations: 98.2 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1294, allocations: 3.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1294, allocations: 4 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1294, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.1299, allocations: 358.4 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1299, allocations: 0 / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.13, allocations: 11.98 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.13, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.13, allocations: 4 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.13, allocations: 7.875 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.13, allocations: 0 / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1303, allocations: 183.4 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.1303, allocations: 77.11 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1303, allocations: 4 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.1304, allocations: 12.2 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.1305, allocations: 4 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1305, allocations: 0 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1306, allocations: 117.1 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1306, allocations: 4 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.1309, allocations: 35.98 kB / 485.8 MB, free: 14.87 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.001107/0.132, allocations: 496 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1322, allocations: 51.91 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1322, allocations: 0 / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.1323, allocations: 27.97 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1327, allocations: 12 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.1331, allocations: 187.2 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1334, allocations: 0.6887 MB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.1335, allocations: 19.97 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.1335, allocations: 19.38 kB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1335, allocations: 0 / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of Templates: time 0.004477/0.138, allocations: 1.71 MB / 489 MB, free: 11.79 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches