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.001211/0.001211, allocations: 104 kB / 15.98 MB, free: 6.352 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.001448/0.001448, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.4574/0.4574, allocations: 43.5 MB / 313.6 MB, free: 8.566 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.002135/0.002135, allocations: 74.53 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1694, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003526/0.173, allocations: 1.602 MB / 441.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006685/0.1737, allocations: 319.5 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.1738, allocations: 0 / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.1742, allocations: 67.84 kB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1745, allocations: 55.86 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1747, allocations: 63.88 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1749, allocations: 63.88 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.175, allocations: 19.98 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.1751, allocations: 35.83 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1752, allocations: 43.84 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1753, allocations: 0 / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.1754, allocations: 31.98 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.1754, allocations: 19.92 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1755, allocations: 31.73 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1757, allocations: 76.02 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1757, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1757, allocations: 4 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1757, allocations: 0 / 442.4 MB, free: 12.3 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.0005463/0.1762, allocations: 402.4 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1763, allocations: 11.89 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1763, allocations: 8.844 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1766, allocations: 203.9 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1766, allocations: 4.375 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1767, allocations: 4.375 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1768, allocations: 53.81 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1768, allocations: 0 / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1769, allocations: 4 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1769, allocations: 0 / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.177, allocations: 23.97 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1774, allocations: 280.8 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1776, allocations: 50.56 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.1777, allocations: 12.95 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1777, allocations: 7.984 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1777, allocations: 34.56 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1777, allocations: 0 / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005528/0.1783, allocations: 141.4 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.1784, allocations: 55.41 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1786, allocations: 194.2 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1786, allocations: 25.7 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1787, allocations: 100 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1787, allocations: 15.8 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1788, allocations: 17.72 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1789, allocations: 326.8 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.179, allocations: 19.92 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.179, allocations: 23.98 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1792, allocations: 40.84 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1792, allocations: 0 / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001577/0.1793, allocations: 77.56 kB / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1793, allocations: 8 kB / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1794, allocations: 0 / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1794, allocations: 0 / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.1794, allocations: 12 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.1795, allocations: 15.86 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.1795, allocations: 4 kB / 444.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1795, allocations: 4 kB / 444.6 MB, free: 9.934 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 9.488e-05/0.1796, allocations: 129.8 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.1797, allocations: 7.906 kB / 444.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1799, allocations: 94.22 kB / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1799, allocations: 0 / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1799, allocations: 0 / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1799, allocations: 3.938 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1803, allocations: 354.4 kB / 445.1 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1803, allocations: 3.984 kB / 445.1 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.1804, allocations: 12 kB / 445.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1804, allocations: 4 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1804, allocations: 0 / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1804, allocations: 3.938 kB / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1804, allocations: 0 / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1807, allocations: 187.3 kB / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1807, allocations: 85.02 kB / 445.4 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1807, allocations: 0 / 445.4 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.1808, allocations: 15.92 kB / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1809, allocations: 0 / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1809, allocations: 4 kB / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.181, allocations: 144 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.181, allocations: 0 / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1812, allocations: 20 kB / 445.6 MB, free: 8.781 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.0009571/0.1822, allocations: 402.6 kB / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1824, allocations: 51.91 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1824, allocations: 0 / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.1825, allocations: 23.98 kB / 446.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1829, allocations: 19.98 kB / 446.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1834, allocations: 229.9 kB / 446.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1837, allocations: 0.7002 MB / 447 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.214e-05/0.1838, allocations: 7.984 kB / 447 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.1838, allocations: 11.44 kB / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1838, allocations: 0 / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of Templates: time 0.004181/0.188, allocations: 1.066 MB / 448.1 MB, free: 6.258 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