Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 113.3 kB / 16.41 MB, free: 6.426 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.00134/0.00134, allocations: 185.5 kB / 17.34 MB, free: 5.73 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2294/0.2294, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001612/0.001612, allocations: 67.91 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1577, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003703/0.1614, allocations: 1.535 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.1622, allocations: 323.4 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.1623, allocations: 4 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1627, allocations: 75.77 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.163, allocations: 67.73 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1634, allocations: 67.83 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1636, allocations: 67.83 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1637, allocations: 11.98 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.951e-05/0.1638, allocations: 39.83 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1639, allocations: 51.89 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.164, allocations: 3.984 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.1641, allocations: 28 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.1641, allocations: 19.92 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.1642, allocations: 31.69 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1644, allocations: 87.7 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1644, allocations: 0 / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1644, allocations: 0 / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1644, allocations: 0 / 0.4902 GB, free: 9.367 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.0005815/0.165, allocations: 402.5 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1651, allocations: 15.89 kB / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.1651, allocations: 8.844 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1654, allocations: 196.1 kB / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1654, allocations: 384 / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1654, allocations: 4.375 kB / 0.4908 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1656, allocations: 49.75 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1656, allocations: 4 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1656, allocations: 0 / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1656, allocations: 4 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1657, allocations: 27.97 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1662, allocations: 284.8 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1664, allocations: 46.5 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.1665, allocations: 16.94 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1665, allocations: 4 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1665, allocations: 38.5 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1665, allocations: 0 / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005957/0.1671, allocations: 141.2 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1672, allocations: 51.41 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1674, allocations: 202.2 kB / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1674, allocations: 29.7 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1675, allocations: 100.1 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1675, allocations: 23.66 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1676, allocations: 17.72 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1677, allocations: 330.7 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.1678, allocations: 11.98 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.1679, allocations: 19.98 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.168, allocations: 56.77 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.168, allocations: 0 / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1682, allocations: 77.58 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1682, allocations: 4 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1682, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1683, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.1683, allocations: 15.98 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1683, allocations: 4 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.1684, allocations: 7.984 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1684, allocations: 0 / 0.4923 GB, free: 6.996 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.421e-05/0.1685, allocations: 129.7 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1685, allocations: 7.906 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1688, allocations: 98.14 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1688, allocations: 64 / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1688, allocations: 8 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1688, allocations: 0 / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1693, allocations: 350.5 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1693, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.1693, allocations: 11.98 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1693, allocations: 4 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1694, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1694, allocations: 3.938 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1694, allocations: 4 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1696, allocations: 183.3 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1697, allocations: 85.3 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1697, allocations: 4 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.1698, allocations: 7.938 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1698, allocations: 3.984 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1698, allocations: 11.98 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.17, allocations: 167.9 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.17, allocations: 0 / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1702, allocations: 16 kB / 0.4934 GB, free: 5.812 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.0009511/0.1712, allocations: 408.3 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1714, allocations: 43.97 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1714, allocations: 4 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.1715, allocations: 27.92 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1719, allocations: 19.84 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.1724, allocations: 210 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1727, allocations: 0.6963 MB / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.483e-05/0.1728, allocations: 19.97 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.1728, allocations: 11.44 kB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1728, allocations: 3.938 kB / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of Templates: time 0.00392/0.1767, allocations: 1.113 MB / 0.4959 GB, free: 3.254 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches