Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,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.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 114.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001479, allocations: 76.66 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1386, allocations: 62.45 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003868/0.1425, allocations: 1.704 MB / 481.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1437, allocations: 0.53 MB / 481.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.1438, allocations: 8 kB / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.1441, allocations: 95.73 kB / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1444, allocations: 95.77 kB / 481.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1447, allocations: 83.34 kB / 482 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1449, allocations: 99.75 kB / 482.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1451, allocations: 27.97 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.1452, allocations: 47.78 kB / 482.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1453, allocations: 59.81 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1454, allocations: 4 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1455, allocations: 47.98 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1456, allocations: 31.91 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1456, allocations: 43.67 kB / 482.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1458, allocations: 123.9 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1459, allocations: 0 / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1459, allocations: 0 / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1459, allocations: 3.938 kB / 482.5 MB, free: 2.613 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005503/0.1464, allocations: 438.8 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1465, allocations: 8.031 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.1465, allocations: 16.75 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1468, allocations: 208.5 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1468, allocations: 4.375 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1468, allocations: 12.36 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.147, allocations: 69.78 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.147, allocations: 8 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1471, allocations: 0 / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.1471, allocations: 4 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1472, allocations: 39.91 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.1477, allocations: 336.6 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.1479, allocations: 66.48 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.1479, allocations: 28.84 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.148, allocations: 0 / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.148, allocations: 34.56 kB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.148, allocations: 0 / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.1491, allocations: 301.2 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1491, allocations: 55.41 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1494, allocations: 235.5 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1494, allocations: 29.7 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.1495, allocations: 108.3 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.1495, allocations: 47.34 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.1496, allocations: 29.7 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1497, allocations: 326.8 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.1498, allocations: 35.92 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1499, allocations: 44.05 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1501, allocations: 88.83 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1501, allocations: 0 / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002528/0.1504, allocations: 137 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1504, allocations: 4 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1504, allocations: 0 / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1504, allocations: 3.938 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1506, allocations: 35.92 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1506, allocations: 240 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1506, allocations: 11.98 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1506, allocations: 0 / 485.2 MB, free: 15.68 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.0001152/0.1508, allocations: 137.8 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1508, allocations: 11.92 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.1512, allocations: 179 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1512, allocations: 11.94 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1512, allocations: 3.938 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1512, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.1519, allocations: 483 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1519, allocations: 4.031 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.152, allocations: 23.98 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.152, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.152, allocations: 7.938 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.152, allocations: 0 / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.152, allocations: 4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1523, allocations: 240.1 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1524, allocations: 88.92 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1524, allocations: 7.938 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.1525, allocations: 11.98 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1525, allocations: 4 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1526, allocations: 4 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1527, allocations: 181.2 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1528, allocations: 0 / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.153, allocations: 35.98 kB / 486.6 MB, free: 14.16 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.001049/0.1541, allocations: 444.4 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1544, allocations: 107.8 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1544, allocations: 0 / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1545, allocations: 55.91 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.1549, allocations: 27.91 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.1555, allocations: 343.9 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1559, allocations: 0.7197 MB / 488.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.594e-05/0.156, allocations: 24.53 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.156, allocations: 19.42 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.156, allocations: 0 / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of Templates: time 0.005/0.161, allocations: 1.523 MB / 489.8 MB, free: 11.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches