Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001485/0.001485, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.576/1.576, allocations: 223.3 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2788/0.2788, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8.781 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002104/0.1546, allocations: 1.266 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000713/0.1553, allocations: 395.5 kB / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.1554, allocations: 0 / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1557, allocations: 111.8 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1559, allocations: 79.83 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1562, allocations: 74.72 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1564, allocations: 75.8 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1565, allocations: 16.17 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.1566, allocations: 35.84 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1567, allocations: 67.84 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1568, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.1568, allocations: 31.98 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.1569, allocations: 31.84 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.157, allocations: 37.64 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1571, allocations: 91.81 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.1571, allocations: 4 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1572, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1572, allocations: 0 / 473.9 MB, free: 11.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006057/0.1578, allocations: 407.1 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1578, allocations: 12.56 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1579, allocations: 11.81 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1581, allocations: 198.7 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1582, allocations: 8 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1582, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1584, allocations: 61.58 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1584, allocations: 3.906 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1584, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1584, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1585, allocations: 31.97 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1589, allocations: 300.8 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1591, allocations: 46.5 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1591, allocations: 20.94 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1591, allocations: 3.938 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1592, allocations: 38.56 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1592, allocations: 0 / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008772/0.1601, allocations: 260.9 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1601, allocations: 55.41 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1604, allocations: 270.2 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1604, allocations: 29.7 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.1605, allocations: 108.1 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1606, allocations: 27.64 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1606, allocations: 4 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1607, allocations: 326.8 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.1608, allocations: 31.92 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.1609, allocations: 36.05 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.161, allocations: 31.98 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.161, allocations: 0 / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002036/0.1612, allocations: 109.5 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1612, allocations: 4 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1612, allocations: 4 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1613, allocations: 0 / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1614, allocations: 23.98 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1614, allocations: 0 / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.1614, allocations: 4 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1614, allocations: 4 kB / 476.3 MB, free: 8.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.1616, allocations: 141.7 kB / 476.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.1616, allocations: 16.23 kB / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.1619, allocations: 127 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1619, allocations: 4 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1619, allocations: 4 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1619, allocations: 3.984 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.1625, allocations: 423.2 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1625, allocations: 0 / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.1626, allocations: 23.97 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1626, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1626, allocations: 7.984 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1626, allocations: 0 / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1626, allocations: 4 kB / 477.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1629, allocations: 216.1 kB / 477.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.1629, allocations: 88.95 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.163, allocations: 4 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.163, allocations: 7.984 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1631, allocations: 4 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1631, allocations: 15.89 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.1634, allocations: 207.1 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1634, allocations: 4 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1636, allocations: 20 kB / 477.6 MB, free: 7.344 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.1648, allocations: 460.9 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.165, allocations: 67.95 kB / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1651, allocations: 0 / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.1652, allocations: 43.98 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1655, allocations: 16.17 kB / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.1661, allocations: 322.4 kB / 478.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1664, allocations: 0.716 MB / 479.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.391e-05/0.1665, allocations: 8.672 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.1665, allocations: 19.38 kB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1665, allocations: 0 / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Templates: time 0.004005/0.1705, allocations: 1.26 MB / 480.5 MB, free: 4.57 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches