Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001498/0.001498, allocations: 194 kB / 18.12 MB, free: 5.383 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.435/1.435, allocations: 222.9 MB / 241.8 MB, free: 13.73 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.2216/0.2216, allocations: 44.18 MB / 336.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 60.47 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1482, allocations: 60.84 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.004116/0.1523, allocations: 1.606 MB / 470.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.1534, allocations: 407.3 kB / 470.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.1534, allocations: 0 / 470.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1537, allocations: 23.92 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.154, allocations: 31.91 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.1545, allocations: 71.86 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1547, allocations: 63.77 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1548, allocations: 11.98 kB / 470.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.1549, allocations: 15.94 kB / 470.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.1549, allocations: 23.86 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.155, allocations: 0 / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1551, allocations: 35.91 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.1552, allocations: 15.92 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.1552, allocations: 19.81 kB / 470.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1554, allocations: 71.8 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1554, allocations: 4 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1554, allocations: 4 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1555, allocations: 0 / 470.9 MB, free: 12.39 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.0005589/0.156, allocations: 379.5 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1561, allocations: 8.031 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.1561, allocations: 8.844 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1564, allocations: 195.1 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1564, allocations: 12.31 kB / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.1564, allocations: 384 / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1566, allocations: 57.81 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1567, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1567, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1567, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1568, allocations: 19.98 kB / 471.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.1573, allocations: 280.8 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1576, allocations: 46.5 kB / 471.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1577, allocations: 24.92 kB / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1577, allocations: 0 / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1577, allocations: 30.56 kB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1578, allocations: 0 / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000681/0.1584, allocations: 145.2 kB / 472.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1585, allocations: 51.41 kB / 472.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1587, allocations: 161.8 kB / 472.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1587, allocations: 33.7 kB / 472.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.1588, allocations: 96.12 kB / 472.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1588, allocations: 15.66 kB / 472.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1589, allocations: 21.7 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1591, allocations: 322.8 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.1591, allocations: 19.98 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.1592, allocations: 19.98 kB / 472.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1593, allocations: 48.77 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1593, allocations: 0 / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.1595, allocations: 81.58 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1596, allocations: 4 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1596, allocations: 4 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1596, allocations: 0 / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.1597, allocations: 11.98 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1597, allocations: 4 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.1597, allocations: 4.234 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1598, allocations: 4 kB / 473 MB, free: 10.1 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 (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.768e-05/0.1599, allocations: 122.2 kB / 473.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1599, allocations: 11.91 kB / 473.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.1601, allocations: 93.97 kB / 473.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1602, allocations: 0 / 473.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1602, allocations: 4 kB / 473.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1602, allocations: 3.984 kB / 473.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1606, allocations: 346.4 kB / 473.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1606, allocations: 0 / 473.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.1607, allocations: 12 kB / 473.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1607, allocations: 7.922 kB / 473.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1608, allocations: 4 kB / 473.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1608, allocations: 3.938 kB / 473.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1608, allocations: 0 / 473.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.161, allocations: 175.4 kB / 473.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.1611, allocations: 84.95 kB / 473.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.1611, allocations: 8 kB / 473.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1612, allocations: 7.922 kB / 473.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1612, allocations: 4 kB / 473.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1612, allocations: 0 / 473.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1613, allocations: 129.7 kB / 474 MB, free: 9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 0 / 474 MB, free: 9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1616, allocations: 23.98 kB / 474 MB, free: 8.977 MB / 350.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.001041/0.1627, allocations: 407.9 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1629, allocations: 39.97 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1629, allocations: 4 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.163, allocations: 23.92 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1634, allocations: 15.98 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.1638, allocations: 208.1 kB / 474.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1642, allocations: 0.6965 MB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.1642, allocations: 7.984 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1643, allocations: 11.44 kB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1643, allocations: 4 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of Templates: time 0.004009/0.1683, allocations: 1.043 MB / 476.4 MB, free: 6.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches