Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1958/0.1958, allocations: 44.25 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002004/0.147, allocations: 1.29 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000801/0.1478, allocations: 399.4 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.1478, allocations: 0 / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1481, allocations: 71.84 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1483, allocations: 55.8 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1485, allocations: 82.23 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1487, allocations: 71.81 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1488, allocations: 12.19 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.1489, allocations: 35.77 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.149, allocations: 43.91 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.149, allocations: 0 / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.1491, allocations: 47.97 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.1492, allocations: 15.92 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.1493, allocations: 57.39 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1494, allocations: 95.97 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1495, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1495, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1495, allocations: 0 / 474.5 MB, free: 11.06 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.0004796/0.15, allocations: 395.2 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.15, allocations: 8.031 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.15, allocations: 20.72 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1502, allocations: 192.1 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.1503, allocations: 384 / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1503, allocations: 4.375 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1504, allocations: 65.59 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1505, allocations: 7.891 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1505, allocations: 0 / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1505, allocations: 0 / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1506, allocations: 35.97 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.151, allocations: 288.8 kB / 475.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.1511, allocations: 46.55 kB / 475.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.1512, allocations: 20.86 kB / 475.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1512, allocations: 0 / 475.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1512, allocations: 30.56 kB / 475.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1513, allocations: 3.938 kB / 475.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008975/0.1522, allocations: 253.2 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1522, allocations: 51.41 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1524, allocations: 210.1 kB / 476.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1524, allocations: 29.7 kB / 476.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.1525, allocations: 112.1 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1525, allocations: 23.64 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1526, allocations: 13.72 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1527, allocations: 326.8 kB / 476.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.1528, allocations: 27.98 kB / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.1529, allocations: 32.05 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.153, allocations: 68.83 kB / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.153, allocations: 0 / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002239/0.1533, allocations: 117.4 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1533, allocations: 6.5 kB / 476.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1533, allocations: 0 / 476.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1533, allocations: 0 / 476.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1534, allocations: 27.92 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1535, allocations: 3.938 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.1535, allocations: 12 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1535, allocations: 0 / 476.9 MB, free: 8.457 MB / 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 (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.0001039/0.1536, allocations: 130.3 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1537, allocations: 7.906 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1539, allocations: 134.3 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.154, allocations: 0 / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.154, allocations: 3.938 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.154, allocations: 0 / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.1545, allocations: 415.2 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1545, allocations: 0 / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.1546, allocations: 19.94 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1546, allocations: 0 / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1546, allocations: 4 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1546, allocations: 7.984 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1546, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1549, allocations: 212.7 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.155, allocations: 89.36 kB / 477.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.155, allocations: 4 kB / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.1551, allocations: 8 kB / 477.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1551, allocations: 11.98 kB / 477.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1551, allocations: 4 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1553, allocations: 155.2 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1553, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1555, allocations: 16 kB / 478.1 MB, free: 7.148 MB / 350.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.001029/0.1566, allocations: 471.8 kB / 478.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.1568, allocations: 71.95 kB / 478.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1568, allocations: 0 / 478.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.1569, allocations: 35.92 kB / 478.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1573, allocations: 30.89 kB / 478.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.1578, allocations: 274.3 kB / 478.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1581, allocations: 0.7121 MB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.904e-05/0.1582, allocations: 8.984 kB / 479.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.1582, allocations: 15.44 kB / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1582, allocations: 0 / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Templates: time 0.003917/0.1621, allocations: 1.252 MB / 480.9 MB, free: 4.414 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches