Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, 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.00147/0.00147, 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.442/1.442, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.11 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 76.84 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1313, allocations: 62.44 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.004277/0.1356, allocations: 1.608 MB / 482.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1368, allocations: 0.5416 MB / 482.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.1369, allocations: 4 kB / 482.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.1372, allocations: 75.77 kB / 482.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.1376, allocations: 103.6 kB / 483 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.138, allocations: 91.69 kB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1382, allocations: 75.83 kB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1383, allocations: 20 kB / 483.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.1384, allocations: 43.83 kB / 483.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1386, allocations: 55.81 kB / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1386, allocations: 0 / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1387, allocations: 47.98 kB / 483.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.1388, allocations: 19.92 kB / 483.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.1388, allocations: 31.73 kB / 483.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1391, allocations: 99.7 kB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1391, allocations: 0 / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1391, allocations: 3.938 kB / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1391, allocations: 4 kB / 483.5 MB, free: 2.441 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.0005484/0.1397, allocations: 419.2 kB / 483.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1397, allocations: 11.97 kB / 483.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1398, allocations: 8.844 kB / 483.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1401, allocations: 196.8 kB / 484.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1401, allocations: 4.375 kB / 484.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1401, allocations: 384 / 484.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1403, allocations: 57.8 kB / 484.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1403, allocations: 7.984 kB / 484.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1403, allocations: 4 kB / 484.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1404, allocations: 0 / 484.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1405, allocations: 31.91 kB / 484.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.141, allocations: 300.7 kB / 484.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.1411, allocations: 38.56 kB / 484.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.1412, allocations: 28.88 kB / 484.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1412, allocations: 4 kB / 484.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1413, allocations: 30.56 kB / 484.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.1413, allocations: 0 / 484.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009771/0.1423, allocations: 221 kB / 484.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1423, allocations: 51.41 kB / 484.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1426, allocations: 218.2 kB / 485.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1426, allocations: 29.7 kB / 485.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.1427, allocations: 104.1 kB / 485.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.1428, allocations: 35.61 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.1428, allocations: 17.72 kB / 485.3 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.143, allocations: 330.8 kB / 485.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.1431, allocations: 23.98 kB / 485.6 MB, free: 96 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.1432, allocations: 23.98 kB / 485.7 MB, free: 72 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1434, allocations: 68.98 kB / 485.7 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1434, allocations: 0 / 485.7 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002532/0.1437, allocations: 101.6 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1437, allocations: 6.656 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1437, allocations: 0 / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1437, allocations: 0 / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1438, allocations: 19.98 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1439, allocations: 0 / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.1439, allocations: 11.92 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1439, allocations: 8 kB / 485.9 MB, free: 15.85 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.0001733/0.1441, allocations: 125.8 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1442, allocations: 15.81 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.1445, allocations: 123 kB / 486.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1445, allocations: 4 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1445, allocations: 0 / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.1445, allocations: 7.922 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.1451, allocations: 403.3 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1451, allocations: 0 / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.1452, allocations: 23.92 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1452, allocations: 3.938 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1452, allocations: 4 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1452, allocations: 0 / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1452, allocations: 4 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1455, allocations: 212.6 kB / 486.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.1456, allocations: 84.95 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1456, allocations: 4 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1457, allocations: 7.984 kB / 486.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1457, allocations: 7.938 kB / 486.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1458, allocations: 7.984 kB / 486.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.1459, allocations: 164.2 kB / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1459, allocations: 0 / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.1463, allocations: 23.98 kB / 487.1 MB, free: 14.54 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.001194/0.1475, allocations: 462.9 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1478, allocations: 59.97 kB / 487.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.1478, allocations: 0 / 487.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.1479, allocations: 35.91 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1484, allocations: 19.98 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.149, allocations: 284.7 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1494, allocations: 0.7195 MB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.1495, allocations: 19.44 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.176e-06/0.1495, allocations: 0 / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004489/0.154, allocations: 1.751 MB / 490.4 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches