Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 109.6 kB / 16.41 MB, free: 6.453 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.001352/0.001352, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.563/1.563, 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.2644/0.2644, allocations: 43.52 MB / 314.1 MB, free: 476 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.001467/0.001468, allocations: 63.91 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.168, allocations: 57.78 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00373/0.1717, allocations: 1.693 MB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1732, allocations: 0.7961 MB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.1733, allocations: 7.938 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1737, allocations: 39.81 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1739, allocations: 59.7 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1742, allocations: 87.75 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1744, allocations: 91.7 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1745, allocations: 20.2 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.1746, allocations: 43.78 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.1747, allocations: 23.86 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1747, allocations: 4 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1748, allocations: 39.98 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.1749, allocations: 27.84 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.175, allocations: 31.75 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1752, allocations: 123.5 kB / 0.491 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1752, allocations: 0 / 0.491 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1752, allocations: 0 / 0.491 GB, free: 8.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1752, allocations: 4 kB / 0.491 GB, free: 8.648 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.0006303/0.1759, allocations: 406.8 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1759, allocations: 11.89 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.176, allocations: 16.84 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1763, allocations: 212.1 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1763, allocations: 8.312 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1763, allocations: 4.125 kB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1765, allocations: 57.67 kB / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1765, allocations: 0 / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1765, allocations: 4 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1766, allocations: 0 / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.083e-05/0.1766, allocations: 19.98 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.1771, allocations: 288.9 kB / 0.4919 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1772, allocations: 58.61 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.1773, allocations: 24.84 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1773, allocations: 0 / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1775, allocations: 67.34 kB / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1775, allocations: 0 / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005514/0.178, allocations: 173.4 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1781, allocations: 59.41 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1783, allocations: 178.2 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1783, allocations: 29.7 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.1784, allocations: 108 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1785, allocations: 27.78 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1785, allocations: 17.72 kB / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1787, allocations: 330.8 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.1787, allocations: 19.98 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.1788, allocations: 38.08 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1789, allocations: 65.77 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.179, allocations: 0 / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1791, allocations: 105.5 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1792, allocations: 8 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1792, allocations: 0 / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1792, allocations: 0 / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1793, allocations: 27.95 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1793, allocations: 4 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.1794, allocations: 3.938 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1794, allocations: 4 kB / 0.4932 GB, free: 6.082 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.0001076/0.1795, allocations: 129.8 kB / 0.4934 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1795, allocations: 11.94 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.1796, allocations: 16.72 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1796, allocations: 3.938 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1796, allocations: 4 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1796, allocations: 3.938 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.1802, allocations: 391.3 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1802, allocations: 0 / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.1802, allocations: 15.98 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1802, allocations: 0 / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1802, allocations: 3.938 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1802, allocations: 4 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1803, allocations: 0 / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1805, allocations: 204.3 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.1806, allocations: 85.02 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1806, allocations: 11.92 kB / 0.4941 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.1807, allocations: 0 / 0.4941 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1808, allocations: 4 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1808, allocations: 11.98 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1809, allocations: 144.1 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1809, allocations: 4.188 kB / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1812, allocations: 27.92 kB / 0.4943 GB, free: 4.918 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.001133/0.1823, allocations: 465.6 kB / 0.4947 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1825, allocations: 63.91 kB / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1826, allocations: 0 / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.1826, allocations: 27.92 kB / 0.4948 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.183, allocations: 47.2 kB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.1835, allocations: 223 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1838, allocations: 0.7002 MB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.1838, allocations: 16.88 kB / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.1838, allocations: 19.44 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1839, allocations: 0 / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of Templates: time 0.004765/0.1886, allocations: 1.693 MB / 0.4974 GB, free: 1.672 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches