Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001779/0.001779, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2272/0.2272, allocations: 44.19 MB / 336.7 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.91 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4263, allocations: 60.82 MB / 0.519 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00369/0.43, allocations: 1.711 MB / 0.5207 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.4317, allocations: 0.879 MB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.4318, allocations: 1.312 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.4323, allocations: 42.62 kB / 0.5216 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.4326, allocations: 52.3 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.4329, allocations: 116.4 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4331, allocations: 96.8 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4332, allocations: 7.641 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.4333, allocations: 46.41 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.4334, allocations: 29.62 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.4335, allocations: 4.031 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.4336, allocations: 46.42 kB / 0.5219 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.4337, allocations: 19.95 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.4337, allocations: 42.27 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.434, allocations: 112.6 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.434, allocations: 0.7031 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.434, allocations: 0 / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.434, allocations: 0 / 0.5221 GB, free: 1.523 MB / 382.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.0005339/0.4345, allocations: 413.7 kB / 0.5225 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4346, allocations: 10.55 kB / 0.5225 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.4346, allocations: 13.81 kB / 0.5225 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.4349, allocations: 210.7 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.4349, allocations: 6.438 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4349, allocations: 10.28 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4351, allocations: 50.78 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4351, allocations: 4.547 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4351, allocations: 4 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4351, allocations: 1.031 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.4352, allocations: 26.55 kB / 0.5228 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.4356, allocations: 291.9 kB / 0.5231 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.4358, allocations: 55.69 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.4358, allocations: 20.25 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4359, allocations: 1.875 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.436, allocations: 70.23 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.4361, allocations: 4 kB / 0.5232 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.4367, allocations: 172.3 kB / 0.5234 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.4367, allocations: 57.55 kB / 0.5235 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4369, allocations: 196.7 kB / 0.5236 GB, free: 140 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.437, allocations: 28.72 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.437, allocations: 103 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.4371, allocations: 27.58 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.4371, allocations: 29.39 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4373, allocations: 325.8 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.4374, allocations: 20.06 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.4374, allocations: 35.92 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.4376, allocations: 61.05 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4376, allocations: 1.25 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002189/0.4378, allocations: 105.2 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4378, allocations: 5.094 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.4379, allocations: 1.922 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4379, allocations: 9.109 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.438, allocations: 14.8 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.438, allocations: 1.219 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.438, allocations: 6.984 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.4381, allocations: 7.25 kB / 0.5244 GB, free: 15.49 MB / 398.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.0001376/0.4382, allocations: 126.6 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.4382, allocations: 13.89 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.4383, allocations: 16.3 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4383, allocations: 1.688 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4383, allocations: 0 / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4383, allocations: 7.109 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.4389, allocations: 389.5 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4389, allocations: 1.594 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.4389, allocations: 16.97 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4389, allocations: 4.031 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.439, allocations: 11.28 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.439, allocations: 1.312 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.439, allocations: 0 / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.4392, allocations: 201.1 kB / 0.5252 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.4393, allocations: 85.73 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.4393, allocations: 13.88 kB / 0.5252 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.4394, allocations: 2.906 kB / 0.5252 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.4395, allocations: 6.219 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4395, allocations: 4.094 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.4396, allocations: 151.6 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.4396, allocations: 0 / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.4399, allocations: 30.62 kB / 0.5254 GB, free: 14.6 MB / 398.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.001158/0.4411, allocations: 463.4 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4413, allocations: 62.88 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4413, allocations: 0 / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.4414, allocations: 29.7 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4418, allocations: 38.36 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.4424, allocations: 225.8 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.4427, allocations: 0.7103 MB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.2e-05/0.4428, allocations: 17.16 kB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.4428, allocations: 19.66 kB / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4428, allocations: 0 / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.005052/0.4479, allocations: 1.712 MB / 0.5286 GB, free: 12.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches