Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 110.1 kB / 16.27 MB, free: 6.41 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.001393/0.001393, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.83/1.83, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2645/0.2645, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001797/0.001797, allocations: 78.72 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004086/0.168, allocations: 1.693 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1694, allocations: 0.7922 MB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.1695, allocations: 4 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.1699, allocations: 43.77 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1702, allocations: 51.75 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1705, allocations: 79.78 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1707, allocations: 99.69 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1708, allocations: 8.5 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.1709, allocations: 39.8 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.171, allocations: 39.78 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.171, allocations: 4 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.732e-05/0.1711, allocations: 39.98 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.1712, allocations: 19.92 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.1713, allocations: 35.73 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1715, allocations: 111.6 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1715, allocations: 0 / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1715, allocations: 0 / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.1715, allocations: 0 / 443.6 MB, free: 3.816 MB / 318.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.0005346/0.172, allocations: 418.9 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1721, allocations: 15.89 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.1721, allocations: 8.844 kB / 444 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1724, allocations: 205 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1724, allocations: 4.375 kB / 444.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1724, allocations: 4.125 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1726, allocations: 57.67 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1726, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1726, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1726, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.1727, allocations: 27.92 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.1731, allocations: 284.8 kB / 444.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1733, allocations: 58.67 kB / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.1733, allocations: 16.86 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1734, allocations: 7.938 kB / 444.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.1736, allocations: 79.31 kB / 444.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.1736, allocations: 0 / 444.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005904/0.1742, allocations: 177.1 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1743, allocations: 51.41 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1744, allocations: 190.1 kB / 445.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1745, allocations: 33.7 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.1745, allocations: 104.1 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1746, allocations: 19.72 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1746, allocations: 25.7 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.1747, allocations: 322.8 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.1747, allocations: 20 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.1748, allocations: 37.7 kB / 445.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.1749, allocations: 69.7 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1749, allocations: 0 / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1751, allocations: 97.56 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1751, allocations: 8 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1751, allocations: 3.984 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1751, allocations: 0 / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.1752, allocations: 15.94 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1753, allocations: 4 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.1753, allocations: 15.95 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1753, allocations: 4 kB / 445.9 MB, free: 1.242 MB / 318.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 8.79e-05/0.1754, allocations: 125.3 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1754, allocations: 15.81 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.1755, allocations: 16.7 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1755, allocations: 0 / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1755, allocations: 0 / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1755, allocations: 3.938 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.1759, allocations: 399.3 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1759, allocations: 0 / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.1759, allocations: 11.94 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1759, allocations: 3.984 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.176, allocations: 7.938 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.176, allocations: 384 / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.176, allocations: 0 / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1762, allocations: 200.5 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.1762, allocations: 85.02 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1762, allocations: 15.88 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.1763, allocations: 11.92 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.1764, allocations: 4 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1764, allocations: 0 / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1765, allocations: 147.2 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1765, allocations: 0 / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1767, allocations: 27.91 kB / 447 MB, free: 80 kB / 318.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.001182/0.1779, allocations: 465.9 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1782, allocations: 59.92 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1782, allocations: 0 / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.1783, allocations: 32.12 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1786, allocations: 23.98 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.1792, allocations: 227.4 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1795, allocations: 0.7041 MB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.1796, allocations: 12.88 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1797, allocations: 23.38 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1797, allocations: 4 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of Templates: time 0.004772/0.1844, allocations: 1.689 MB / 450.2 MB, free: 12.9 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches