Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 103.9 kB / 16.27 MB, free: 5.977 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.001911/0.001911, allocations: 188.6 kB / 17.19 MB, free: 5.609 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.646/1.646, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2723/0.2723, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.00165/0.001651, allocations: 68.08 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1492, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003762/0.1531, allocations: 1.555 MB / 442.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1544, allocations: 0.93 MB / 443 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.1545, allocations: 4 kB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1548, allocations: 23.84 kB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.155, allocations: 47.77 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1552, allocations: 67.86 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1554, allocations: 51.84 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1556, allocations: 19.92 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.1556, allocations: 23.86 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1558, allocations: 23.91 kB / 443.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1558, allocations: 4 kB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1559, allocations: 47.97 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.156, allocations: 11.88 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.156, allocations: 27.86 kB / 443.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1562, allocations: 87.77 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1562, allocations: 4 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1562, allocations: 0 / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1563, allocations: 0 / 443.4 MB, free: 3.977 MB / 318.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.000507/0.1568, allocations: 375.2 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1568, allocations: 11.89 kB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.1569, allocations: 8.922 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1571, allocations: 184.2 kB / 444 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1571, allocations: 4.312 kB / 444 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1571, allocations: 4.375 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1573, allocations: 71.45 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1573, allocations: 4 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1573, allocations: 0 / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1573, allocations: 0 / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.1574, allocations: 19.98 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.1578, allocations: 272.9 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.158, allocations: 46.5 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.158, allocations: 16.94 kB / 444.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1581, allocations: 3.984 kB / 444.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.1581, allocations: 38.5 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1581, allocations: 4 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005259/0.1586, allocations: 133.3 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1587, allocations: 77.11 kB / 444.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1588, allocations: 137.6 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1588, allocations: 25.7 kB / 444.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.1588, allocations: 96.05 kB / 444.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1589, allocations: 19.78 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.1589, allocations: 17.72 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.159, allocations: 322.8 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.1591, allocations: 15.98 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.1592, allocations: 37.69 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1593, allocations: 44.81 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1593, allocations: 0 / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001679/0.1595, allocations: 85.56 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1595, allocations: 4 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1595, allocations: 256 / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1595, allocations: 4 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.1596, allocations: 12 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1596, allocations: 0 / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.1597, allocations: 11.98 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1597, allocations: 0 / 445.5 MB, free: 1.672 MB / 318.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 6.735e-05/0.1597, allocations: 125.7 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1598, allocations: 4 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.16, allocations: 93.47 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.16, allocations: 0 / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.16, allocations: 0 / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.16, allocations: 3.984 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.1603, allocations: 350.5 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1604, allocations: 0 / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.1604, allocations: 11.98 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1604, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1604, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1604, allocations: 7.938 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1604, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1606, allocations: 175.4 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.1607, allocations: 81.09 kB / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1607, allocations: 3.938 kB / 446.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1608, allocations: 12.12 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1608, allocations: 7.984 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1608, allocations: 4 kB / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.93e-05/0.1609, allocations: 107.3 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1609, allocations: 3.938 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1611, allocations: 20 kB / 446.5 MB, free: 0.5742 MB / 318.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.001031/0.1622, allocations: 446.9 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1624, allocations: 51.95 kB / 447 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1624, allocations: 0 / 447 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.1625, allocations: 27.92 kB / 447 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1628, allocations: 11.44 kB / 447 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.1632, allocations: 161.5 kB / 447.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1635, allocations: 0.6904 MB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.074e-05/0.1636, allocations: 11.97 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1636, allocations: 15.44 kB / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1636, allocations: 0 / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Templates: time 0.004314/0.1679, allocations: 1.349 MB / 449.2 MB, free: 13.86 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches