Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009585/0.0009586, allocations: 179 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.7 MB / 243.9 MB, free: 8.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 84.67 kB / 295 MB, free: 9.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3218/0.3218, allocations: 44.31 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 12 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3182, allocations: 61.91 MB / 0.5127 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00158/0.3198, allocations: 1.399 MB / 0.5141 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.3208, allocations: 0.8958 MB / 0.515 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.3209, allocations: 0 / 0.515 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3212, allocations: 37.12 kB / 0.515 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.3214, allocations: 46.05 kB / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.3216, allocations: 97.36 kB / 0.5152 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3218, allocations: 94.05 kB / 0.5152 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.3219, allocations: 10.25 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.322, allocations: 45.17 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.322, allocations: 31.05 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.3221, allocations: 0 / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.3221, allocations: 35.47 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.3222, allocations: 22.17 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.3223, allocations: 59.52 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3225, allocations: 105.4 kB / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3225, allocations: 2.125 kB / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3225, allocations: 0 / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3225, allocations: 0 / 0.5155 GB, free: 35.89 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.0004259/0.3229, allocations: 400.6 kB / 0.5159 GB, free: 35.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.323, allocations: 8.562 kB / 0.5159 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.323, allocations: 9.781 kB / 0.5159 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3232, allocations: 203.9 kB / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3232, allocations: 1.5 kB / 0.5161 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3233, allocations: 11.03 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3234, allocations: 49.34 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3234, allocations: 0 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3234, allocations: 5.094 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3234, allocations: 0 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.3235, allocations: 26.89 kB / 0.5162 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.3239, allocations: 292.6 kB / 0.5165 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3241, allocations: 52.34 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.3241, allocations: 22.45 kB / 0.5166 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.3242, allocations: 4 kB / 0.5166 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.3245, allocations: 74.5 kB / 0.5167 GB, free: 34.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.584e-06/0.3245, allocations: 0 / 0.5167 GB, free: 34.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006538/0.3251, allocations: 179.2 kB / 0.5168 GB, free: 34.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3252, allocations: 51.41 kB / 0.5169 GB, free: 34.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3254, allocations: 182.2 kB / 0.517 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3254, allocations: 28.2 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3255, allocations: 104.7 kB / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3255, allocations: 26.59 kB / 0.5172 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.3255, allocations: 4 kB / 0.5172 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.3256, allocations: 328.3 kB / 0.5175 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.3257, allocations: 15.78 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.3258, allocations: 35.67 kB / 0.5176 GB, free: 34.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.3259, allocations: 63.5 kB / 0.5176 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3259, allocations: 3.125 kB / 0.5176 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001624/0.3261, allocations: 101.1 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3261, allocations: 5.312 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3261, allocations: 0 / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3261, allocations: 0 / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.3262, allocations: 21.2 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3263, allocations: 0 / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.3263, allocations: 6.75 kB / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.3263, allocations: 6.656 kB / 0.5178 GB, free: 33.92 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 9.317e-05/0.3264, allocations: 128.4 kB / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.3265, allocations: 13.34 kB / 0.5179 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.3265, allocations: 14.95 kB / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3265, allocations: 2.938 kB / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3265, allocations: 0 / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3265, allocations: 3.938 kB / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.3269, allocations: 399 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3269, allocations: 0 / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.327, allocations: 5.656 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.327, allocations: 2.656 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.327, allocations: 9.609 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.327, allocations: 3.938 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.327, allocations: 0 / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3272, allocations: 203 kB / 0.5185 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.3272, allocations: 91.12 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.3273, allocations: 6.531 kB / 0.5186 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.3274, allocations: 13.95 kB / 0.5186 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.3274, allocations: 2.688 kB / 0.5186 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3274, allocations: 3.344 kB / 0.5186 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3275, allocations: 145.2 kB / 0.5188 GB, free: 33.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3275, allocations: 0 / 0.5188 GB, free: 33.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.3278, allocations: 28.33 kB / 0.5188 GB, free: 33.02 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.001048/0.3288, allocations: 0.5302 MB / 0.5193 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.329, allocations: 59.89 kB / 0.5194 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3291, allocations: 1.219 kB / 0.5194 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.3291, allocations: 31.53 kB / 0.5194 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3295, allocations: 24.69 kB / 0.5194 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.33, allocations: 244.5 kB / 0.5197 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.3302, allocations: 0.7091 MB / 0.5203 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.3303, allocations: 13.58 kB / 0.5204 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.3304, allocations: 15.31 kB / 0.5204 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3304, allocations: 4 kB / 0.5204 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004769/0.3351, allocations: 1.618 MB / 0.522 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches