Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008472, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 177.9 kB / 16.91 MB, free: 6.645 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.909/1.909, allocations: 205.4 MB / 223.1 MB, free: 5.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5424/0.5424, allocations: 43.58 MB / 315 MB, free: 9.051 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.0006698/0.0006702, allocations: 20 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1718, allocations: 58.87 MB / 443.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002788/0.1746, allocations: 1.406 MB / 444.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1762, allocations: 0.7846 MB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.1763, allocations: 0 / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.1768, allocations: 91.8 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.177, allocations: 55.81 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.1773, allocations: 79.83 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1775, allocations: 95.69 kB / 446 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1776, allocations: 16.22 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1778, allocations: 51.7 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1779, allocations: 51.84 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1779, allocations: 3.984 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.178, allocations: 39.98 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.1781, allocations: 15.92 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.1782, allocations: 65.38 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1784, allocations: 119.8 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1784, allocations: 0 / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1784, allocations: 0 / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1785, allocations: 0 / 446.3 MB, free: 10.03 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.0006422/0.1791, allocations: 403.1 kB / 446.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1792, allocations: 12.03 kB / 446.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.1792, allocations: 12.75 kB / 446.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1795, allocations: 216.8 kB / 446.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1795, allocations: 384 / 446.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1796, allocations: 8.125 kB / 447 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1798, allocations: 57.61 kB / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1798, allocations: 0 / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1798, allocations: 0 / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1798, allocations: 0 / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.1799, allocations: 27.98 kB / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.1804, allocations: 288.9 kB / 447.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1806, allocations: 66.5 kB / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1806, allocations: 20.84 kB / 447.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.1807, allocations: 4 kB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.1809, allocations: 63.39 kB / 447.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1809, allocations: 4 kB / 447.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006124/0.1815, allocations: 181 kB / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1816, allocations: 55.41 kB / 447.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1818, allocations: 206.4 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1819, allocations: 33.7 kB / 447.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.1819, allocations: 104.1 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.182, allocations: 27.64 kB / 448.1 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.182, allocations: 9.719 kB / 448.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1822, allocations: 330.8 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/0.1822, allocations: 19.98 kB / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.1823, allocations: 41.64 kB / 448.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1824, allocations: 61.78 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1824, allocations: 0 / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1826, allocations: 109.4 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1826, allocations: 4 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1826, allocations: 0 / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1827, allocations: 0 / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.1828, allocations: 23.98 kB / 448.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1828, allocations: 0 / 448.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.1828, allocations: 11.97 kB / 448.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1829, allocations: 0 / 448.7 MB, free: 7.438 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.0001174/0.183, allocations: 133.8 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.183, allocations: 7.906 kB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.1831, allocations: 17.41 kB / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1831, allocations: 0 / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1831, allocations: 0 / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1831, allocations: 11.91 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1836, allocations: 395.2 kB / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1836, allocations: 4 kB / 449.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.1836, allocations: 4 kB / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1836, allocations: 4 kB / 449.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1836, allocations: 3.938 kB / 449.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1836, allocations: 4.5 kB / 449.2 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1836, allocations: 4 kB / 449.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1839, allocations: 216.2 kB / 449.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.184, allocations: 88.92 kB / 449.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.184, allocations: 11.94 kB / 449.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1841, allocations: 7.984 kB / 449.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.1841, allocations: 4 kB / 449.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1841, allocations: 0 / 449.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1843, allocations: 160.2 kB / 449.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1843, allocations: 0 / 449.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1845, allocations: 27.98 kB / 449.7 MB, free: 6.246 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.001079/0.1856, allocations: 464.5 kB / 450.2 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.1858, allocations: 67.89 kB / 450.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1858, allocations: 0 / 450.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.1859, allocations: 24 kB / 450.3 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1862, allocations: 39.84 kB / 450.3 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.1867, allocations: 258.3 kB / 450.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1871, allocations: 0.7082 MB / 451.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.837e-05/0.1871, allocations: 12.88 kB / 451.3 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.1872, allocations: 23.44 kB / 451.3 MB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1872, allocations: 0 / 451.3 MB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.004597/0.1918, allocations: 1.626 MB / 453 MB, free: 3.012 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches