Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.00142/0.00142, allocations: 185 kB / 18.72 MB, free: 4.332 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.503/1.503, allocations: 222.9 MB / 242.4 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.2268/0.2268, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4423, allocations: 60.83 MB / 0.5185 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005031/0.4474, allocations: 1.708 MB / 0.5202 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4491, allocations: 0.8724 MB / 0.521 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.4492, allocations: 1.156 kB / 0.521 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.4495, allocations: 46.03 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.4498, allocations: 52.27 kB / 0.5211 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.4502, allocations: 108.8 kB / 0.5212 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.4505, allocations: 101.2 kB / 0.5213 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4506, allocations: 11.14 kB / 0.5213 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.4508, allocations: 41.91 kB / 0.5214 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4509, allocations: 27 kB / 0.5214 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.4509, allocations: 6.844 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4511, allocations: 47.73 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.4512, allocations: 18.5 kB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.4512, allocations: 41.33 kB / 0.5215 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.4516, allocations: 113.3 kB / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4516, allocations: 0 / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4516, allocations: 0 / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4516, allocations: 0 / 0.5216 GB, free: 1.086 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.0006843/0.4523, allocations: 420.1 kB / 0.522 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.4524, allocations: 15.08 kB / 0.522 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.4525, allocations: 32.42 kB / 0.5221 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.4525, allocations: 9.391 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4528, allocations: 219.6 kB / 0.5223 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4528, allocations: 3.203 kB / 0.5223 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.4529, allocations: 6.188 kB / 0.5223 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.453, allocations: 54.44 kB / 0.5223 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.453, allocations: 0 / 0.5223 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.453, allocations: 5.5 kB / 0.5223 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.453, allocations: 4 kB / 0.5224 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.4531, allocations: 18.77 kB / 0.5224 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.4535, allocations: 283 kB / 0.5226 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.4536, allocations: 60.59 kB / 0.5227 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.4537, allocations: 19.72 kB / 0.5227 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4537, allocations: 5.219 kB / 0.5227 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.454, allocations: 66.08 kB / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.454, allocations: 1.375 kB / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006105/0.4546, allocations: 179.8 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.4546, allocations: 61.77 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.4549, allocations: 199.8 kB / 0.5232 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.4549, allocations: 31.53 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.455, allocations: 104.6 kB / 0.5233 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.455, allocations: 25.78 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.4551, allocations: 25.69 kB / 0.5234 GB, free: 15.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4552, allocations: 326.7 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.4553, allocations: 17.2 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.4554, allocations: 44.02 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4555, allocations: 61.72 kB / 0.5238 GB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4555, allocations: 0 / 0.5238 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.4557, allocations: 101.6 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4557, allocations: 9.219 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4557, allocations: 0 / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4557, allocations: 1.125 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4559, allocations: 15.31 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4559, allocations: 6.438 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.4559, allocations: 19.27 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.4559, allocations: 1.312 kB / 0.524 GB, free: 15 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.0001132/0.4561, allocations: 127.4 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.4561, allocations: 13.69 kB / 0.5241 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.4562, allocations: 17.47 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4562, allocations: 0 / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4562, allocations: 2.047 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4562, allocations: 3.938 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.4566, allocations: 396.5 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4567, allocations: 0 / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.4567, allocations: 12.94 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.4567, allocations: 5.125 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4567, allocations: 2.703 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4567, allocations: 0.6094 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4567, allocations: 1.094 kB / 0.5245 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.457, allocations: 217.5 kB / 0.5247 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4571, allocations: 85.23 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.4571, allocations: 5.812 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.4572, allocations: 3.047 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.4572, allocations: 9.391 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4573, allocations: 4.078 kB / 0.5248 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.4574, allocations: 147.5 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4574, allocations: 0 / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.4577, allocations: 30.94 kB / 0.525 GB, free: 14.11 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.001502/0.4592, allocations: 1.1 MB / 0.5261 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.4594, allocations: 55.97 kB / 0.5261 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4594, allocations: 0 / 0.5261 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.4595, allocations: 29.41 kB / 0.5262 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4598, allocations: 32.19 kB / 0.5262 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4616, allocations: 1.667 MB / 0.5278 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4619, allocations: 0.702 MB / 0.5285 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.462, allocations: 24.41 kB / 0.5285 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.462, allocations: 35.73 kB / 0.5286 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4621, allocations: 0 / 0.5286 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.4854, allocations: 3.439 MB / 0.5319 GB, free: 9.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/8.044, allocations: 4.906 kB / 0.5319 GB, free: 9.676 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches