Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001446/0.001446, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.498/1.498, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 70.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1653, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00427/0.1696, allocations: 1.687 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1714, allocations: 0.8924 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1716, allocations: 4 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.172, allocations: 43.75 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1725, allocations: 63.75 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.173, allocations: 115.4 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.1733, allocations: 95.69 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1734, allocations: 12.23 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1736, allocations: 39.78 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1737, allocations: 31.84 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1737, allocations: 4 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.1739, allocations: 47.92 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.174, allocations: 23.92 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.1741, allocations: 51.64 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.1744, allocations: 127.6 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1744, allocations: 0 / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1744, allocations: 0 / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1744, allocations: 0 / 473.9 MB, free: 10.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008245/0.1753, allocations: 438.7 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.1753, allocations: 12.03 kB / 474.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.1754, allocations: 20.75 kB / 474.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.1758, allocations: 220.5 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1759, allocations: 384 / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1759, allocations: 8.125 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1761, allocations: 53.67 kB / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1761, allocations: 0 / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1762, allocations: 0 / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1762, allocations: 0 / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.1763, allocations: 23.98 kB / 474.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.1768, allocations: 292.8 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.1771, allocations: 58.67 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.1771, allocations: 20.84 kB / 475.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1772, allocations: 4 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.1774, allocations: 75.33 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1774, allocations: 0 / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006662/0.178, allocations: 181 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1781, allocations: 55.34 kB / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.1784, allocations: 266.3 kB / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1784, allocations: 29.7 kB / 475.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.1785, allocations: 108.1 kB / 475.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.1786, allocations: 31.64 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.1786, allocations: 25.7 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1788, allocations: 330.8 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.1789, allocations: 23.98 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.1789, allocations: 37.64 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1791, allocations: 57.66 kB / 476.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1791, allocations: 4 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001989/0.1793, allocations: 105.5 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1793, allocations: 4 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1793, allocations: 0 / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1793, allocations: 0 / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.1794, allocations: 19.94 kB / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1794, allocations: 3.984 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.1795, allocations: 7.938 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1795, allocations: 0 / 476.4 MB, free: 7.699 MB / 350.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.0001235/0.1797, allocations: 142.8 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1797, allocations: 15.81 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.1797, allocations: 25.39 kB / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1798, allocations: 0 / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1798, allocations: 0 / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1798, allocations: 3.938 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.1803, allocations: 395.3 kB / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1803, allocations: 8.016 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1803, allocations: 8 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1803, allocations: 0 / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1804, allocations: 11.94 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1804, allocations: 384 / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1804, allocations: 3.938 kB / 477 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1806, allocations: 200.2 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1807, allocations: 96.91 kB / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1807, allocations: 11.94 kB / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1808, allocations: 7.984 kB / 477.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.1809, allocations: 7.969 kB / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1809, allocations: 4 kB / 477.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.1811, allocations: 200.2 kB / 477.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1811, allocations: 0 / 477.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1813, allocations: 20.19 kB / 477.5 MB, free: 6.457 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: 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.001138/0.1825, allocations: 471 kB / 478 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1827, allocations: 63.97 kB / 478.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1827, allocations: 0 / 478.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.1828, allocations: 35.98 kB / 478.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1832, allocations: 19.98 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.1838, allocations: 283.7 kB / 478.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.1844, allocations: 0.7119 MB / 479.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.1845, allocations: 16.94 kB / 479.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.1845, allocations: 23.42 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1845, allocations: 0 / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of Templates: time 0.004935/0.1895, allocations: 1.733 MB / 480.9 MB, free: 3.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches