Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 186.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 223.1 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4568/0.4568, allocations: 43.58 MB / 315 MB, free: 8.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005007, allocations: 19.98 kB / 384.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002486/0.1491, allocations: 1.283 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.15, allocations: 303.6 kB / 445 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.15, allocations: 0 / 445 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1504, allocations: 67.84 kB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1506, allocations: 51.88 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1509, allocations: 59.86 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.1511, allocations: 71.88 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1512, allocations: 7.984 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.1513, allocations: 27.86 kB / 445.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1514, allocations: 39.83 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1514, allocations: 4 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.1515, allocations: 31.98 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.1516, allocations: 15.92 kB / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.1517, allocations: 49.5 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1518, allocations: 87.94 kB / 445.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1519, allocations: 0 / 445.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1519, allocations: 0 / 445.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1519, allocations: 0 / 445.5 MB, free: 10.83 MB / 382.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.0005857/0.1525, allocations: 375.2 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.1525, allocations: 15.97 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1526, allocations: 8.844 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1529, allocations: 200 kB / 446.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1529, allocations: 384 / 446.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1529, allocations: 8.375 kB / 446.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1531, allocations: 61.75 kB / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1531, allocations: 0 / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1531, allocations: 0 / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1532, allocations: 0 / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1533, allocations: 27.97 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1537, allocations: 288.8 kB / 446.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1541, allocations: 42.66 kB / 446.5 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1541, allocations: 20.84 kB / 446.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.1542, allocations: 4 kB / 446.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1542, allocations: 34.56 kB / 446.6 MB, free: 9.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1542, allocations: 0 / 446.6 MB, free: 9.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006635/0.1549, allocations: 157.3 kB / 446.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.1549, allocations: 55.41 kB / 446.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.1552, allocations: 190.2 kB / 447 MB, free: 9.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1552, allocations: 25.7 kB / 447 MB, free: 9.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.1553, allocations: 104 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1553, allocations: 15.81 kB / 447.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1553, allocations: 9.719 kB / 447.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.1556, allocations: 326.8 kB / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.1557, allocations: 27.92 kB / 447.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.1558, allocations: 23.98 kB / 447.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1559, allocations: 56.83 kB / 447.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1559, allocations: 0 / 447.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.1561, allocations: 85.58 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1561, allocations: 8 kB / 447.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1562, allocations: 0 / 447.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1562, allocations: 0 / 447.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.1562, allocations: 23.92 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1563, allocations: 0 / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.1563, allocations: 7.938 kB / 447.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1563, allocations: 7.984 kB / 447.7 MB, free: 8.434 MB / 382.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 8.909e-05/0.1564, allocations: 125.8 kB / 447.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.1564, allocations: 7.906 kB / 447.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.1567, allocations: 102.2 kB / 447.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1568, allocations: 0 / 447.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1568, allocations: 4.062 kB / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1568, allocations: 3.984 kB / 447.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.1572, allocations: 362.5 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1572, allocations: 0 / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.1573, allocations: 15.98 kB / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1573, allocations: 0 / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1573, allocations: 0 / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1573, allocations: 7.875 kB / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1573, allocations: 0 / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1576, allocations: 191.3 kB / 448.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.1576, allocations: 89 kB / 448.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1576, allocations: 0 / 448.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.1577, allocations: 11.94 kB / 448.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.1578, allocations: 11.98 kB / 448.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1578, allocations: 0 / 448.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1579, allocations: 151.9 kB / 448.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1579, allocations: 0 / 448.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1581, allocations: 20 kB / 448.8 MB, free: 7.246 MB / 382.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.0009887/0.1591, allocations: 401.4 kB / 449.2 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1593, allocations: 59.91 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1594, allocations: 3.938 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.1594, allocations: 27.98 kB / 449.3 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1598, allocations: 19.92 kB / 449.3 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1603, allocations: 225.1 kB / 449.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1607, allocations: 0.6965 MB / 450.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.1607, allocations: 19.95 kB / 450.2 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1608, allocations: 11.44 kB / 450.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1608, allocations: 0 / 450.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of Templates: time 0.003693/0.1645, allocations: 1.031 MB / 451.2 MB, free: 4.734 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches