Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 114.7 kB / 17.74 MB, free: 5.43 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.001492/0.001492, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.513/1.513, allocations: 222.9 MB / 242.3 MB, free: 15.07 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.2175/0.2175, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4239, allocations: 60.81 MB / 0.5189 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004023/0.428, allocations: 1.71 MB / 0.5206 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.4297, allocations: 0.8759 MB / 0.5214 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.4298, allocations: 1.031 kB / 0.5214 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.4302, allocations: 41.34 kB / 0.5215 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.4305, allocations: 56.25 kB / 0.5215 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.4308, allocations: 117.4 kB / 0.5216 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.4311, allocations: 103.7 kB / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.4312, allocations: 11.36 kB / 0.5218 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.4313, allocations: 41.73 kB / 0.5218 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.4314, allocations: 29.88 kB / 0.5218 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.4314, allocations: 3.969 kB / 0.5218 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4316, allocations: 42.45 kB / 0.5219 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.4316, allocations: 18.67 kB / 0.5219 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.4317, allocations: 41.22 kB / 0.5219 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.432, allocations: 118.6 kB / 0.522 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.432, allocations: 1.594 kB / 0.522 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.432, allocations: 0 / 0.522 GB, free: 1.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.432, allocations: 0 / 0.522 GB, free: 1.789 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.000679/0.4327, allocations: 408.5 kB / 0.5224 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.4328, allocations: 9.906 kB / 0.5224 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.4329, allocations: 18.06 kB / 0.5225 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.4332, allocations: 207.5 kB / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4332, allocations: 5.625 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.4333, allocations: 7.578 kB / 0.5227 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4335, allocations: 57.86 kB / 0.5227 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4335, allocations: 0.7031 kB / 0.5227 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4335, allocations: 1.062 kB / 0.5227 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4335, allocations: 0 / 0.5227 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.4336, allocations: 22.55 kB / 0.5227 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.4341, allocations: 296.5 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4343, allocations: 55.34 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.4343, allocations: 20.5 kB / 0.5231 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.4344, allocations: 5.469 kB / 0.5231 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.4345, allocations: 61.56 kB / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4345, allocations: 5.344 kB / 0.5232 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000611/0.4351, allocations: 175.7 kB / 0.5233 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.4352, allocations: 57.39 kB / 0.5234 GB, free: 0.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.4354, allocations: 193.1 kB / 0.5236 GB, free: 424 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4355, allocations: 30.86 kB / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.4355, allocations: 99.69 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.4356, allocations: 26.22 kB / 0.5237 GB, free: 272 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.4356, allocations: 30.42 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.4357, allocations: 326.2 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.4358, allocations: 21.53 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.4359, allocations: 43.7 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.436, allocations: 56.75 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.436, allocations: 1.25 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002199/0.4362, allocations: 109.6 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4363, allocations: 9.531 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4363, allocations: 0.75 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4363, allocations: 1.125 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.95e-05/0.4364, allocations: 15.7 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4364, allocations: 1.031 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.4365, allocations: 7.406 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.4365, allocations: 2.281 kB / 0.5243 GB, free: 15.77 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.0001159/0.4366, allocations: 134.4 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4367, allocations: 14.59 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.4367, allocations: 16.73 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4367, allocations: 1.5 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4367, allocations: 0 / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4367, allocations: 4.453 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.4372, allocations: 395.4 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4373, allocations: 5.766 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.4373, allocations: 8.938 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4373, allocations: 4.031 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4373, allocations: 6.828 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4373, allocations: 2.781 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4373, allocations: 0 / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.4376, allocations: 202 kB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.4377, allocations: 88.77 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4377, allocations: 9.109 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.4378, allocations: 7.531 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.4378, allocations: 4.781 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4379, allocations: 3.922 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.438, allocations: 151.3 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.438, allocations: 1.344 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.4383, allocations: 24.88 kB / 0.5254 GB, free: 14.87 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.001171/0.4395, allocations: 468.8 kB / 0.5258 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.4397, allocations: 60.95 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4397, allocations: 0 / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.4398, allocations: 24.48 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4402, allocations: 37.92 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.4408, allocations: 226.1 kB / 0.5261 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4411, allocations: 0.7104 MB / 0.5268 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.4411, allocations: 21.11 kB / 0.5269 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.4412, allocations: 17.92 kB / 0.5269 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4412, allocations: 0 / 0.5269 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.005457/0.4466, allocations: 1.69 MB / 0.5285 GB, free: 13.16 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches