Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001775/0.001775, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.002057/0.002057, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.496/1.496, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.217/0.217, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.91 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3564, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002884/0.3593, allocations: 1.743 MB / 0.5202 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3606, allocations: 0.8895 MB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.3607, allocations: 1.344 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.3611, allocations: 106.2 kB / 0.5212 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.3613, allocations: 96.25 kB / 0.5213 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3616, allocations: 112 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3619, allocations: 124.5 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.362, allocations: 16.48 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3621, allocations: 65.09 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3622, allocations: 69.84 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.3623, allocations: 5.281 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3624, allocations: 64.38 kB / 0.5217 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.3625, allocations: 37.42 kB / 0.5218 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.3625, allocations: 44.61 kB / 0.5218 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.3628, allocations: 162.2 kB / 0.522 GB, free: 1.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3628, allocations: 0 / 0.522 GB, free: 1.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3628, allocations: 0 / 0.522 GB, free: 1.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3628, allocations: 5.656 kB / 0.522 GB, free: 1.113 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005352/0.3634, allocations: 452.9 kB / 0.5224 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3634, allocations: 10.12 kB / 0.5224 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.3635, allocations: 38.89 kB / 0.5224 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.3635, allocations: 15.69 kB / 0.5225 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3638, allocations: 221.7 kB / 0.5227 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3638, allocations: 6.656 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3638, allocations: 8.703 kB / 0.5227 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.364, allocations: 77.89 kB / 0.5228 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.364, allocations: 0 / 0.5228 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.364, allocations: 1.609 kB / 0.5228 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.364, allocations: 1.25 kB / 0.5228 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3641, allocations: 43.86 kB / 0.5228 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.3645, allocations: 324.7 kB / 0.5231 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3648, allocations: 79.55 kB / 0.5232 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.3649, allocations: 28.66 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3649, allocations: 2.297 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.3651, allocations: 79.27 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 5.109e-06/0.3651, allocations: 1.406 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008924/0.366, allocations: 303.2 kB / 0.5236 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3661, allocations: 54.34 kB / 0.5236 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.3664, allocations: 244 kB / 0.5239 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3664, allocations: 31.02 kB / 0.5239 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.3665, allocations: 120.1 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.3666, allocations: 51.53 kB / 0.5241 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.3667, allocations: 33.77 kB / 0.5241 GB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3668, allocations: 330.4 kB / 0.5244 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.3669, allocations: 39.42 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-05/0.367, allocations: 55.83 kB / 0.5245 GB, free: 14.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3672, allocations: 107.4 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3672, allocations: 0 / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002762/0.3675, allocations: 165.2 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3675, allocations: 5.75 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3675, allocations: 0.8594 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3676, allocations: 10.91 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.3677, allocations: 23.84 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3677, allocations: 6.344 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.3677, allocations: 11.52 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3677, allocations: 6 kB / 0.5248 GB, free: 14.83 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 (16): * Single equations (assignments): 16 * 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.0001303/0.3679, allocations: 138.2 kB / 0.525 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.3679, allocations: 17.05 kB / 0.525 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.368, allocations: 24.67 kB / 0.525 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.368, allocations: 1.375 kB / 0.525 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.368, allocations: 5.375 kB / 0.525 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.368, allocations: 1.266 kB / 0.525 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.3687, allocations: 0.5002 MB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3687, allocations: 4.641 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.3688, allocations: 17.94 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3688, allocations: 2.859 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3688, allocations: 3.516 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3688, allocations: 1.766 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3688, allocations: 1.406 kB / 0.5255 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.3692, allocations: 271.1 kB / 0.5258 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.3692, allocations: 90.3 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.3693, allocations: 6.875 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.3694, allocations: 3.719 kB / 0.5259 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.3694, allocations: 13.27 kB / 0.5259 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3694, allocations: 7.125 kB / 0.5259 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.3696, allocations: 187.6 kB / 0.5261 GB, free: 13.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3696, allocations: 0 / 0.5261 GB, free: 13.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.3699, allocations: 33.5 kB / 0.5261 GB, free: 13.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002452/0.3724, allocations: 1.208 MB / 0.5273 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3727, allocations: 105.2 kB / 0.5274 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3727, allocations: 0 / 0.5274 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3728, allocations: 51.39 kB / 0.5274 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3731, allocations: 40.34 kB / 0.5275 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3755, allocations: 1.989 MB / 0.5294 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3759, allocations: 0.7243 MB / 0.5301 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.857e-05/0.376, allocations: 28.27 kB / 0.5301 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/0.3761, allocations: 53.7 kB / 0.5302 GB, free: 10.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3761, allocations: 0 / 0.5302 GB, free: 10.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.4001, allocations: 4.255 MB / 0.5344 GB, free: 8.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.495, allocations: 20.31 kB / 0.5344 GB, free: 8.539 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches