Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001054, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.8 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 79.44 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1175, allocations: 62.43 MB / 480 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003068/0.1206, allocations: 1.61 MB / 481.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.1215, allocations: 0.5454 MB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.1216, allocations: 4 kB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1219, allocations: 71.77 kB / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.1222, allocations: 103.6 kB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1225, allocations: 99.31 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1227, allocations: 75.88 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1228, allocations: 16 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.1229, allocations: 43.77 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.123, allocations: 51.83 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.123, allocations: 4 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1231, allocations: 47.97 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.1232, allocations: 19.92 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.1232, allocations: 31.75 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1234, allocations: 107.7 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1235, allocations: 0 / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1235, allocations: 3.938 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1235, allocations: 0 / 482.8 MB, free: 2.477 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.0004642/0.1239, allocations: 411.2 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.124, allocations: 8.031 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.124, allocations: 12.84 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1242, allocations: 200.8 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1242, allocations: 8.312 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1243, allocations: 8.375 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1244, allocations: 53.8 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1244, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1245, allocations: 4 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1245, allocations: 0 / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1246, allocations: 31.91 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.1249, allocations: 296.7 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.552e-05/0.125, allocations: 46.56 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.1251, allocations: 12.95 kB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1251, allocations: 3.984 kB / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1252, allocations: 38.5 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1252, allocations: 0 / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008518/0.126, allocations: 225.1 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1261, allocations: 59.41 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1263, allocations: 218.2 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1263, allocations: 25.7 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1264, allocations: 108.1 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.1264, allocations: 31.55 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.1265, allocations: 21.72 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1266, allocations: 322.8 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.1267, allocations: 19.98 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.1267, allocations: 31.98 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1269, allocations: 61.06 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1269, allocations: 7.922 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.1271, allocations: 97.56 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1272, allocations: 4 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1272, allocations: 0 / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1272, allocations: 4 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.1273, allocations: 19.98 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1273, allocations: 0 / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.1274, allocations: 11.92 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1274, allocations: 8 kB / 485.2 MB, free: 15.89 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.986e-05/0.1275, allocations: 125.8 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1275, allocations: 16.23 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.1278, allocations: 115 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1278, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1278, allocations: 3.984 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1278, allocations: 7.922 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.1284, allocations: 407.3 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1284, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.1285, allocations: 19.98 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1285, allocations: 7.875 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1285, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/0.1285, allocations: 3.938 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1285, allocations: 4.031 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.1288, allocations: 204.2 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1289, allocations: 88.95 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1289, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.129, allocations: 8 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1291, allocations: 15.92 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1291, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1292, allocations: 164.2 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1292, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1295, allocations: 27.98 kB / 486.4 MB, free: 14.57 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.00103/0.1305, allocations: 443.9 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1308, allocations: 63.95 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1308, allocations: 0 / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.1309, allocations: 43.91 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1312, allocations: 19.23 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.1318, allocations: 258.9 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1321, allocations: 0.7157 MB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.1321, allocations: 12.66 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1322, allocations: 11.44 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1322, allocations: 11.88 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.004174/0.1364, allocations: 1.346 MB / 489.3 MB, free: 11.77 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches