Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00243/0.002431, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.11 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.19 kB / 416.8 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1385, allocations: 62.45 MB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003489/0.142, allocations: 1.653 MB / 481 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1438, allocations: 1.14 MB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.1439, allocations: 0 / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1442, allocations: 23.91 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1444, allocations: 55.84 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1447, allocations: 91.77 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1448, allocations: 51.91 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1449, allocations: 12 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.145, allocations: 31.78 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1452, allocations: 31.84 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1452, allocations: 0 / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.1454, allocations: 91.94 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.1454, allocations: 19.92 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.1455, allocations: 27.8 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1457, allocations: 131.7 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1457, allocations: 0 / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1457, allocations: 0 / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1457, allocations: 0 / 482.6 MB, free: 2.383 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.0005453/0.1463, allocations: 403.4 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1463, allocations: 8.875 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1464, allocations: 4.938 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1466, allocations: 200.1 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1466, allocations: 8.312 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1466, allocations: 384 / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1468, allocations: 67.52 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1468, allocations: 4 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1469, allocations: 0 / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1469, allocations: 0 / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.549e-05/0.147, allocations: 19.98 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1474, allocations: 284.8 kB / 483.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1476, allocations: 42.55 kB / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.1477, allocations: 12.86 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1477, allocations: 0 / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1478, allocations: 34.56 kB / 483.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1478, allocations: 4 kB / 483.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006036/0.1484, allocations: 145.3 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1485, allocations: 81.05 kB / 483.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1486, allocations: 141.8 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1486, allocations: 29.7 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.1487, allocations: 96.06 kB / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1488, allocations: 23.72 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.1488, allocations: 13.72 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1489, allocations: 326.8 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.149, allocations: 15.98 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.1491, allocations: 37.64 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1492, allocations: 48.86 kB / 484.7 MB, free: 140 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1493, allocations: 0 / 484.7 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001754/0.1494, allocations: 77.86 kB / 484.7 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1495, allocations: 4 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1495, allocations: 4 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1495, allocations: 0 / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.1496, allocations: 11.98 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1496, allocations: 7.922 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.1496, allocations: 11.98 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1496, allocations: 3.938 kB / 484.8 MB, free: 12 kB / 350.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.821e-05/0.1497, allocations: 113.8 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1498, allocations: 7.906 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.15, allocations: 89.97 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.15, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.15, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1501, allocations: 12.27 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.1505, allocations: 358.3 kB / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1505, allocations: 0 / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.1506, allocations: 11.98 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1506, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1506, allocations: 3.984 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1506, allocations: 7.938 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1506, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1508, allocations: 179.4 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.1509, allocations: 85.09 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1509, allocations: 4.25 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.151, allocations: 7.938 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.151, allocations: 7.984 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1511, allocations: 0 / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.827e-05/0.1512, allocations: 121.4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1512, allocations: 0 / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000297/0.1515, allocations: 35.98 kB / 485.8 MB, free: 14.88 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.001115/0.1526, allocations: 497.8 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1528, allocations: 43.97 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1528, allocations: 3.938 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.1529, allocations: 27.92 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1532, allocations: 19.98 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.1536, allocations: 183.2 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1539, allocations: 0.6926 MB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.1539, allocations: 11.98 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.154, allocations: 15.42 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.154, allocations: 0 / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004352/0.1583, allocations: 1.726 MB / 489 MB, free: 11.79 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches