Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 116.5 kB / 17.05 MB, free: 5.805 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.00104/0.00104, allocations: 196.2 kB / 17.98 MB, free: 4.992 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.553/1.553, allocations: 205.1 MB / 223.8 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.2609/0.2609, allocations: 43.51 MB / 314.7 MB, free: 460 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.001548/0.001548, allocations: 72.45 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1569, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003481/0.1604, allocations: 1.697 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.162, allocations: 0.8116 MB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.1621, allocations: 4 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1625, allocations: 43.75 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1627, allocations: 59.77 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.163, allocations: 91.7 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1632, allocations: 95.69 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1634, allocations: 20.2 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.951e-05/0.1634, allocations: 27.86 kB / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.1635, allocations: 39.78 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1636, allocations: 4 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1637, allocations: 43.98 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.1637, allocations: 27.92 kB / 0.4914 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.1638, allocations: 39.72 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.164, allocations: 119.6 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.164, allocations: 0 / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1641, allocations: 0 / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1641, allocations: 0 / 0.4916 GB, free: 8.621 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007642/0.1648, allocations: 434.2 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1649, allocations: 11.89 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.1649, allocations: 16.84 kB / 0.492 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1653, allocations: 208 kB / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1653, allocations: 384 / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.1654, allocations: 8.125 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1656, allocations: 57.61 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1656, allocations: 0 / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1656, allocations: 0 / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1656, allocations: 0 / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.1657, allocations: 23.98 kB / 0.4923 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1662, allocations: 300.8 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1663, allocations: 58.62 kB / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.1664, allocations: 24.78 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1664, allocations: 0 / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1666, allocations: 75.39 kB / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1666, allocations: 0 / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.1672, allocations: 173.1 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1672, allocations: 51.41 kB / 0.493 GB, free: 7.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1674, allocations: 226.7 kB / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1675, allocations: 29.7 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.1676, allocations: 108.1 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1676, allocations: 23.72 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.1676, allocations: 25.7 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1678, allocations: 330.8 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.1679, allocations: 19.94 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.1679, allocations: 37.64 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1681, allocations: 61.7 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1681, allocations: 4 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.1683, allocations: 105.4 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1683, allocations: 8 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1683, allocations: 0 / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1684, allocations: 0 / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1685, allocations: 12 kB / 0.4939 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1685, allocations: 4 kB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.1686, allocations: 11.92 kB / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1686, allocations: 4 kB / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001318/0.1687, allocations: 137.8 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1687, allocations: 11.89 kB / 0.4941 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.1688, allocations: 17.41 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1688, allocations: 0 / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1688, allocations: 0 / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.1688, allocations: 7.938 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.1694, allocations: 399.2 kB / 0.4945 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1694, allocations: 4.031 kB / 0.4945 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.1694, allocations: 8 kB / 0.4945 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1694, allocations: 0 / 0.4945 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1694, allocations: 7.938 kB / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1695, allocations: 3.938 kB / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1695, allocations: 384 / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1697, allocations: 204.2 kB / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.1698, allocations: 92.92 kB / 0.4948 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.1698, allocations: 7.938 kB / 0.4948 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.1699, allocations: 8 kB / 0.4948 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.17, allocations: 7.984 kB / 0.4948 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.17, allocations: 4 kB / 0.4948 GB, free: 4.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1701, allocations: 163.2 kB / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1701, allocations: 0 / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1704, allocations: 23.98 kB / 0.495 GB, free: 4.781 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001131/0.1715, allocations: 472 kB / 0.4954 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1718, allocations: 59.91 kB / 0.4955 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1718, allocations: 3.938 kB / 0.4955 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.1719, allocations: 32 kB / 0.4955 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1722, allocations: 35.17 kB / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.1728, allocations: 292.6 kB / 0.4959 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1732, allocations: 0.708 MB / 0.4965 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1732, allocations: 15.44 kB / 0.4966 GB, free: 3.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1732, allocations: 4.062 kB / 0.4966 GB, free: 3.156 MB / 382.1 MB Notification: Performance of Templates: time 0.004267/0.1775, allocations: 1.963 MB / 0.4985 GB, free: 1.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches