Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 93.3 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 246.8 MB, free: 9.715 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002345/0.1274, allocations: 1.369 MB / 484.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1286, allocations: 0.5379 MB / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.1287, allocations: 0 / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1291, allocations: 91.8 kB / 485.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1294, allocations: 95.7 kB / 485.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1297, allocations: 107.8 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1299, allocations: 91.81 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1301, allocations: 27.97 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.1302, allocations: 35.78 kB / 485.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1303, allocations: 59.81 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1303, allocations: 7.938 kB / 485.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1305, allocations: 39.98 kB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.1306, allocations: 27.91 kB / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1307, allocations: 61.39 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1309, allocations: 123.8 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1309, allocations: 0 / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.1309, allocations: 4 kB / 485.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1309, allocations: 3.938 kB / 485.7 MB, free: 1.469 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000536/0.1315, allocations: 421.3 kB / 486.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1315, allocations: 8.031 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.1316, allocations: 16.75 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1318, allocations: 212.5 kB / 486.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1318, allocations: 384 / 486.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.1319, allocations: 8.375 kB / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.1321, allocations: 81.72 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1322, allocations: 0 / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1322, allocations: 12 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1322, allocations: 0 / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1323, allocations: 43.97 kB / 486.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.1329, allocations: 340.6 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.133, allocations: 78.48 kB / 486.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.1331, allocations: 29 kB / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.1332, allocations: 3.984 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1332, allocations: 30.56 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1332, allocations: 0 / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001332/0.1346, allocations: 384.9 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1346, allocations: 55.52 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1349, allocations: 239.5 kB / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1349, allocations: 29.7 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.135, allocations: 116 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.522e-05/0.135, allocations: 43.3 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1351, allocations: 17.72 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1352, allocations: 326.8 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1353, allocations: 51.97 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1355, allocations: 51.97 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1357, allocations: 116.8 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1357, allocations: 0 / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003147/0.136, allocations: 169.4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1361, allocations: 4 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1361, allocations: 0 / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1361, allocations: 7.938 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1363, allocations: 23.98 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1363, allocations: 3.938 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.1363, allocations: 15.98 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1364, allocations: 8 kB / 488.6 MB, free: 14.36 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 (13): * Single equations (assignments): 13 * 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.000118/0.1365, allocations: 133.8 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.1365, allocations: 15.81 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.137, allocations: 191 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.137, allocations: 8 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.137, allocations: 0 / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.137, allocations: 0 / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.1378, allocations: 0.5068 MB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1378, allocations: 8 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.1379, allocations: 31.92 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1379, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1379, allocations: 0 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1379, allocations: 0 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1379, allocations: 0 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1383, allocations: 271.1 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.1384, allocations: 92.91 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1384, allocations: 4 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.1385, allocations: 11.94 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1386, allocations: 11.98 kB / 489.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1386, allocations: 8 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1387, allocations: 177.2 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1388, allocations: 0 / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.139, allocations: 28 kB / 490.1 MB, free: 12.77 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 (13): * Single equations (assignments): 13 * 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.001167/0.1402, allocations: 451.2 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.1405, allocations: 123.8 kB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1405, allocations: 0 / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1407, allocations: 71.91 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.141, allocations: 15.98 kB / 490.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.1416, allocations: 379 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1419, allocations: 0.7199 MB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.2e-05/0.142, allocations: 28.53 kB / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.142, allocations: 19.44 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.142, allocations: 0 / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004478/0.1465, allocations: 1.526 MB / 493.4 MB, free: 9.562 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches