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.001279/0.001279, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 80.16 kB / 418.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.14, allocations: 62.44 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003851/0.1439, allocations: 1.6 MB / 482.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1459, allocations: 1.152 MB / 483.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.146, allocations: 3.938 kB / 483.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1463, allocations: 23.86 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.1467, allocations: 83.61 kB / 483.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1471, allocations: 91.7 kB / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1473, allocations: 63.89 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1474, allocations: 11.94 kB / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.1475, allocations: 35.84 kB / 483.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.1477, allocations: 27.86 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1477, allocations: 4 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.1479, allocations: 95.88 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.148, allocations: 11.98 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1481, allocations: 27.78 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1484, allocations: 131.7 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1484, allocations: 4 kB / 484.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1484, allocations: 0 / 484.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1484, allocations: 0 / 484.1 MB, free: 1.938 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.0005816/0.149, allocations: 403.4 kB / 484.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1491, allocations: 12.03 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.1491, allocations: 4.938 kB / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1494, allocations: 202.6 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1494, allocations: 384 / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1494, allocations: 8.375 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1496, allocations: 63.53 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1496, allocations: 0 / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1496, allocations: 0 / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1496, allocations: 0 / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1497, allocations: 23.97 kB / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.1502, allocations: 284.8 kB / 485 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1504, allocations: 46.55 kB / 485.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.1505, allocations: 20.94 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1505, allocations: 0 / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1506, allocations: 30.56 kB / 485.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1506, allocations: 0 / 485.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006029/0.1512, allocations: 149.2 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1512, allocations: 81.11 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1514, allocations: 148.3 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1514, allocations: 25.7 kB / 485.5 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.1515, allocations: 92.14 kB / 485.6 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1515, allocations: 23.64 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1516, allocations: 21.66 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1518, allocations: 326.8 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.1518, allocations: 15.98 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.1519, allocations: 37.77 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1521, allocations: 44.83 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1521, allocations: 4 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.1523, allocations: 73.7 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1523, allocations: 8 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1523, allocations: 0 / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1523, allocations: 0 / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.1524, allocations: 15.92 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1524, allocations: 0 / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.1525, allocations: 4 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1525, allocations: 11.94 kB / 486.2 MB, free: 15.56 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 (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 9.169e-05/0.1526, allocations: 117.8 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1526, allocations: 11.91 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.1529, allocations: 81.97 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1529, allocations: 4 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1529, allocations: 0 / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1529, allocations: 0 / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.1534, allocations: 362.3 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1534, allocations: 3.984 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.1535, allocations: 8.312 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1535, allocations: 0 / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1535, allocations: 4 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1535, allocations: 7.938 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1535, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1538, allocations: 183.4 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.1538, allocations: 81.11 kB / 487 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1539, allocations: 4 kB / 487 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.1539, allocations: 11.92 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.154, allocations: 0 / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.154, allocations: 0 / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1541, allocations: 117.4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.1541, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.1544, allocations: 47.92 kB / 487.2 MB, free: 14.43 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.001196/0.1556, allocations: 484.5 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1559, allocations: 51.89 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1559, allocations: 0 / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.156, allocations: 23.98 kB / 487.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1563, allocations: 26.3 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.1568, allocations: 199.1 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1571, allocations: 0.6885 MB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.1572, allocations: 19.42 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1572, allocations: 7.938 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004242/0.1615, allocations: 1.926 MB / 490.6 MB, free: 11.13 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches