Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 109.7 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4147/0.4147, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 59.91 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.361, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00269/0.3638, allocations: 1.758 MB / 0.5081 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3649, allocations: 0.8673 MB / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.365, allocations: 0 / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3652, allocations: 38.66 kB / 0.509 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.3654, allocations: 43 kB / 0.509 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.3656, allocations: 94.86 kB / 0.5091 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3658, allocations: 93.06 kB / 0.5092 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.3658, allocations: 13.27 kB / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.3659, allocations: 36.06 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.366, allocations: 34.69 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.366, allocations: 2.844 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.3661, allocations: 41.84 kB / 0.5093 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.3661, allocations: 21.09 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.3662, allocations: 28.55 kB / 0.5094 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3663, allocations: 102.8 kB / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3664, allocations: 0 / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3664, allocations: 0 / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3664, allocations: 4 kB / 0.5095 GB, free: 36.11 MB / 378.7 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.0004219/0.3668, allocations: 412.6 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3668, allocations: 10.69 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3669, allocations: 11.31 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.367, allocations: 213.7 kB / 0.5101 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3671, allocations: 384 / 0.5101 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.3671, allocations: 6.906 kB / 0.5101 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3672, allocations: 54.27 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3672, allocations: 4 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3672, allocations: 0 / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3673, allocations: 3.188 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.3673, allocations: 22.34 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.3676, allocations: 279 kB / 0.5105 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3677, allocations: 54.36 kB / 0.5105 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.3678, allocations: 24.95 kB / 0.5105 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3678, allocations: 2.906 kB / 0.5105 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.368, allocations: 71.67 kB / 0.5106 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.368, allocations: 0 / 0.5106 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004604/0.3685, allocations: 173.1 kB / 0.5108 GB, free: 34.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.3685, allocations: 54.73 kB / 0.5108 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3686, allocations: 178.8 kB / 0.511 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.3687, allocations: 29.7 kB / 0.511 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.3687, allocations: 91.11 kB / 0.5111 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3687, allocations: 24.7 kB / 0.5111 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3688, allocations: 26.8 kB / 0.5112 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.3688, allocations: 325.1 kB / 0.5115 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.3689, allocations: 22.86 kB / 0.5115 GB, free: 34.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.3689, allocations: 39.39 kB / 0.5115 GB, free: 34.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.071e-05/0.369, allocations: 60.72 kB / 0.5116 GB, free: 34.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.369, allocations: 2.844 kB / 0.5116 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001453/0.3692, allocations: 101.4 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3692, allocations: 9.203 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3692, allocations: 4 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3692, allocations: 3.938 kB / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.3693, allocations: 18.66 kB / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3693, allocations: 0 / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.3694, allocations: 10.06 kB / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3694, allocations: 6.812 kB / 0.5117 GB, free: 34.11 MB / 378.7 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 6.225e-05/0.3695, allocations: 123.7 kB / 0.5119 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.3695, allocations: 16.69 kB / 0.5119 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.3695, allocations: 14.59 kB / 0.5119 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3695, allocations: 0 / 0.5119 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3695, allocations: 0 / 0.5119 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3695, allocations: 7.938 kB / 0.5119 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.3699, allocations: 387 kB / 0.5123 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3699, allocations: 0 / 0.5123 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.3699, allocations: 15.8 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3699, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3699, allocations: 6.812 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3699, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3699, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.3703, allocations: 0.7807 MB / 0.513 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3703, allocations: 91.8 kB / 0.5131 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3703, allocations: 2.938 kB / 0.5131 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.3704, allocations: 6.078 kB / 0.5131 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.3704, allocations: 10.92 kB / 0.5132 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3705, allocations: 6.172 kB / 0.5132 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.3705, allocations: 139.1 kB / 0.5133 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3705, allocations: 0 / 0.5133 GB, free: 32.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.3709, allocations: 20.75 kB / 0.5133 GB, free: 32.64 MB / 378.7 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.0008693/0.3718, allocations: 474.3 kB / 0.5138 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3719, allocations: 63.8 kB / 0.5138 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3719, allocations: 0 / 0.5138 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.372, allocations: 33.41 kB / 0.5139 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3723, allocations: 25.08 kB / 0.5139 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.3727, allocations: 356.3 kB / 0.5142 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3729, allocations: 0.7076 MB / 0.5149 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.3729, allocations: 12.3 kB / 0.5149 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.373, allocations: 13.31 kB / 0.5149 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.373, allocations: 2.906 kB / 0.5149 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Templates: time 0.003486/0.3765, allocations: 1.671 MB / 0.5166 GB, free: 31.16 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches