Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.001618/0.001618, allocations: 195 kB / 17.98 MB, free: 5.027 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.523/1.523, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2244/0.2244, allocations: 43.52 MB / 314.7 MB, free: 480 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.001535/0.001535, allocations: 74.88 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1555, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003208/0.1588, allocations: 1.688 MB / 443.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1599, allocations: 0.7883 MB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.16, allocations: 7.938 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.1604, allocations: 39.83 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1607, allocations: 55.7 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.1609, allocations: 91.31 kB / 444.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1611, allocations: 91.77 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1612, allocations: 8.219 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.1613, allocations: 43.78 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.1614, allocations: 27.86 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1615, allocations: 4 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1616, allocations: 47.97 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.1616, allocations: 19.86 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.1617, allocations: 31.8 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1619, allocations: 107.6 kB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.162, allocations: 0 / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.162, allocations: 0 / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.162, allocations: 0 / 445 MB, free: 3.07 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.0006291/0.1626, allocations: 411 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1627, allocations: 11.89 kB / 445.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.1627, allocations: 8.844 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1631, allocations: 204.6 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1631, allocations: 11.94 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.1631, allocations: 0 / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1633, allocations: 61.67 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1633, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1633, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1633, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.1634, allocations: 23.98 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1638, allocations: 280.9 kB / 446 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.164, allocations: 58.61 kB / 446.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.164, allocations: 20.84 kB / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.164, allocations: 8 kB / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.1642, allocations: 63.39 kB / 446.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1642, allocations: 3.938 kB / 446.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.1648, allocations: 173.2 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.1648, allocations: 55.34 kB / 446.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.165, allocations: 159 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.165, allocations: 29.7 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.165, allocations: 100.1 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1651, allocations: 23.66 kB / 446.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1651, allocations: 33.64 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.1652, allocations: 322.8 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.1653, allocations: 12 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.1653, allocations: 37.7 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/0.1654, allocations: 69.75 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1654, allocations: 0 / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001523/0.1656, allocations: 97.53 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1656, allocations: 9.25 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1656, allocations: 0 / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1657, allocations: 7.922 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.1658, allocations: 19.94 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1658, allocations: 3.938 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.1658, allocations: 4.031 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1658, allocations: 4 kB / 447.3 MB, free: 0.5508 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 7.892e-05/0.1659, allocations: 129.8 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.1659, allocations: 11.81 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.166, allocations: 16.66 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.166, allocations: 384 / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.166, allocations: 3.984 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.166, allocations: 0 / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.1664, allocations: 395.3 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1665, allocations: 4 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.1665, allocations: 8 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1665, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.1665, allocations: 4 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1665, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1665, allocations: 4 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1668, allocations: 200.2 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1669, allocations: 89 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.167, allocations: 8.188 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.167, allocations: 0 / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1671, allocations: 11.92 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1671, allocations: 4 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1672, allocations: 123.9 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1672, allocations: 0 / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.1675, allocations: 24 kB / 448.3 MB, free: 15.42 MB / 334.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.001224/0.1687, allocations: 467.9 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1689, allocations: 67.84 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.169, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.169, allocations: 36.06 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1694, allocations: 32.06 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.1698, allocations: 199.2 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1702, allocations: 0.7081 MB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.1702, allocations: 12.88 kB / 449.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1703, allocations: 15.44 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1703, allocations: 0 / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004848/0.1751, allocations: 1.688 MB / 451.5 MB, free: 12.25 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches