Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001223/0.001223, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.468/1.468, allocations: 222.9 MB / 243 MB, free: 15.15 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.2333/0.2333, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 66.23 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1646, allocations: 60.84 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00429/0.1689, allocations: 1.691 MB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.1718, allocations: 1.487 MB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.1719, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.1723, allocations: 39.83 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1726, allocations: 59.69 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1729, allocations: 106.2 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1731, allocations: 103.7 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1732, allocations: 12.2 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.1733, allocations: 43.78 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1735, allocations: 35.84 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1735, allocations: 8 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1737, allocations: 59.97 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.1737, allocations: 19.86 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.1738, allocations: 31.8 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1741, allocations: 123.6 kB / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1741, allocations: 0 / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1741, allocations: 0 / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1741, allocations: 0 / 474.5 MB, free: 9.793 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.0006839/0.1748, allocations: 403.2 kB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1749, allocations: 8.031 kB / 474.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.1749, allocations: 8.844 kB / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1753, allocations: 208 kB / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1753, allocations: 12.31 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1753, allocations: 4.125 kB / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1755, allocations: 67.39 kB / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1756, allocations: 0 / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1756, allocations: 3.984 kB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.1756, allocations: 8 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.1757, allocations: 15.98 kB / 475.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1762, allocations: 296.8 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1764, allocations: 54.69 kB / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.1764, allocations: 20.84 kB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1765, allocations: 0 / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.1766, allocations: 75.33 kB / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1767, allocations: 0 / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006033/0.1773, allocations: 169.2 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.1773, allocations: 81.05 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1775, allocations: 152.2 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1775, allocations: 25.7 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.1776, allocations: 96.12 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1777, allocations: 23.7 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1777, allocations: 29.72 kB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1779, allocations: 322.8 kB / 476.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.1779, allocations: 19.98 kB / 476.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.178, allocations: 42.56 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1782, allocations: 61.64 kB / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1782, allocations: 0 / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.1784, allocations: 105.6 kB / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1784, allocations: 4 kB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1784, allocations: 0 / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1784, allocations: 0 / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1785, allocations: 19.94 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1786, allocations: 3.984 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.1786, allocations: 7.875 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1786, allocations: 4 kB / 476.8 MB, free: 7.238 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.0001474/0.1788, allocations: 125.9 kB / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1788, allocations: 7.906 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.1789, allocations: 16.7 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1789, allocations: 192 / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1789, allocations: 0 / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1789, allocations: 7.875 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1794, allocations: 383.3 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1794, allocations: 384 / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.1795, allocations: 12.02 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1795, allocations: 15.94 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1795, allocations: 7.938 kB / 477.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1795, allocations: 3.938 kB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1795, allocations: 3.984 kB / 477.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1798, allocations: 200.4 kB / 477.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.1798, allocations: 85.02 kB / 477.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1799, allocations: 15.92 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.18, allocations: 4 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.18, allocations: 4 kB / 477.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.18, allocations: 7.984 kB / 477.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1802, allocations: 115.3 kB / 477.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1802, allocations: 0 / 477.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1804, allocations: 31.98 kB / 477.9 MB, free: 6.102 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.001304/0.1818, allocations: 499 kB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.182, allocations: 63.97 kB / 478.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.182, allocations: 0 / 478.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.1821, allocations: 31.92 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1824, allocations: 23.98 kB / 478.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1829, allocations: 194.9 kB / 478.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1833, allocations: 0.6974 MB / 479.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.1834, allocations: 25.17 kB / 479.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.1834, allocations: 23.36 kB / 479.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1834, allocations: 0 / 479.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Templates: time 0.00541/0.1889, allocations: 1.948 MB / 481.3 MB, free: 2.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches