Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 110.6 kB / 17.98 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 205.8 kB / 18.92 MB, free: 4.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 77.09 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1197, allocations: 62.46 MB / 480.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003181/0.1229, allocations: 1.669 MB / 481.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1247, allocations: 1.14 MB / 483 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.1248, allocations: 0 / 483 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1251, allocations: 35.84 kB / 483.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.1254, allocations: 63.83 kB / 483.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1257, allocations: 103.8 kB / 483.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1259, allocations: 79.77 kB / 483.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1261, allocations: 28 kB / 483.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.1261, allocations: 27.91 kB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1263, allocations: 39.78 kB / 483.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1263, allocations: 4 kB / 483.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.1265, allocations: 95.94 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.1265, allocations: 19.91 kB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.1266, allocations: 35.73 kB / 483.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1268, allocations: 111.8 kB / 483.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1268, allocations: 0 / 483.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1269, allocations: 4 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1269, allocations: 0 / 483.7 MB, free: 2.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006073/0.1275, allocations: 407.4 kB / 484.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.1275, allocations: 12.03 kB / 484.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.1276, allocations: 8.844 kB / 484.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1279, allocations: 198.8 kB / 484.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.1279, allocations: 384 / 484.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1279, allocations: 8.281 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1281, allocations: 95.38 kB / 484.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1281, allocations: 0 / 484.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1282, allocations: 0 / 484.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1282, allocations: 0 / 484.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1283, allocations: 35.97 kB / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.1288, allocations: 316.7 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1289, allocations: 58.56 kB / 484.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.129, allocations: 20.97 kB / 484.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.129, allocations: 4 kB / 484.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1291, allocations: 38.59 kB / 484.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1291, allocations: 0 / 484.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007139/0.1298, allocations: 205.1 kB / 485 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.1299, allocations: 77.11 kB / 485.1 MB, free: 444 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.13, allocations: 153.8 kB / 485.3 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1301, allocations: 25.7 kB / 485.3 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.1301, allocations: 96.08 kB / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1302, allocations: 27.61 kB / 485.4 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.1302, allocations: 21.72 kB / 485.4 MB, free: 92 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1304, allocations: 322.8 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.1305, allocations: 27.98 kB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.1306, allocations: 49.75 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1308, allocations: 72.81 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1308, allocations: 0 / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.131, allocations: 113.5 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1311, allocations: 4 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1311, allocations: 0 / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1311, allocations: 0 / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1312, allocations: 19.98 kB / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1312, allocations: 3.938 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.1313, allocations: 4 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1313, allocations: 3.984 kB / 486 MB, free: 15.46 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 0.0001065/0.1314, allocations: 129.8 kB / 486.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1315, allocations: 7.906 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.1318, allocations: 130.3 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1318, allocations: 0 / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.1318, allocations: 15.86 kB / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1318, allocations: 0 / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.1324, allocations: 406.7 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1324, allocations: 0 / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.1325, allocations: 19.98 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1325, allocations: 3.938 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1325, allocations: 4 kB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1325, allocations: 384 / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1325, allocations: 0 / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1328, allocations: 203.4 kB / 486.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.1329, allocations: 92.95 kB / 487 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1329, allocations: 4 kB / 487 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.133, allocations: 7.984 kB / 487.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.133, allocations: 7.938 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.133, allocations: 8 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1331, allocations: 121.2 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1331, allocations: 4 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1334, allocations: 43.98 kB / 487.2 MB, free: 14.17 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 (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.001688/0.1351, allocations: 489.8 kB / 487.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1354, allocations: 75.88 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1354, allocations: 0 / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1356, allocations: 35.98 kB / 487.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1359, allocations: 27.19 kB / 487.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.1365, allocations: 259.7 kB / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1368, allocations: 0.7041 MB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.1369, allocations: 19.44 kB / 488.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1369, allocations: 0 / 488.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.004149/0.1411, allocations: 2.163 MB / 491 MB, free: 10.52 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches