Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001249/0.00125, allocations: 113.4 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.001198/0.001198, 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.533/1.533, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2164/0.2164, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3556, allocations: 60.82 MB / 0.5185 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003005/0.3587, allocations: 1.708 MB / 0.5202 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3601, allocations: 0.8753 MB / 0.521 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.3602, allocations: 1.219 kB / 0.521 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.3605, allocations: 31.34 kB / 0.5211 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.3607, allocations: 58.59 kB / 0.5211 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.361, allocations: 105.4 kB / 0.5212 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3612, allocations: 99.53 kB / 0.5213 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3613, allocations: 9.188 kB / 0.5213 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.3614, allocations: 44 kB / 0.5214 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.3615, allocations: 30.06 kB / 0.5214 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3615, allocations: 3.188 kB / 0.5214 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3616, allocations: 46.92 kB / 0.5214 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.3617, allocations: 15.42 kB / 0.5215 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3617, allocations: 33.64 kB / 0.5215 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.362, allocations: 108.9 kB / 0.5216 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.362, allocations: 0 / 0.5216 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.362, allocations: 0 / 0.5216 GB, free: 1.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.362, allocations: 0 / 0.5216 GB, free: 1.48 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.0005105/0.3625, allocations: 414.5 kB / 0.522 GB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3626, allocations: 10.53 kB / 0.522 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.3626, allocations: 32.36 kB / 0.522 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.3626, allocations: 10.16 kB / 0.522 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.3629, allocations: 212.5 kB / 0.5222 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.3629, allocations: 3.938 kB / 0.5222 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.363, allocations: 2.797 kB / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3631, allocations: 58.27 kB / 0.5223 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3631, allocations: 1.156 kB / 0.5223 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3632, allocations: 4 kB / 0.5223 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3632, allocations: 1.094 kB / 0.5223 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.3633, allocations: 17.88 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.3636, allocations: 280 kB / 0.5226 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.3638, allocations: 60.8 kB / 0.5227 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.3638, allocations: 23.72 kB / 0.5227 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3638, allocations: 1.953 kB / 0.5227 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.364, allocations: 69.3 kB / 0.5227 GB, free: 364 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.364, allocations: 0 / 0.5227 GB, free: 364 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005101/0.3645, allocations: 168.2 kB / 0.5229 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.3645, allocations: 61.11 kB / 0.523 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3647, allocations: 164.5 kB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3647, allocations: 27.77 kB / 0.5231 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.3648, allocations: 101.5 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3648, allocations: 26.38 kB / 0.5233 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.3649, allocations: 22.38 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.365, allocations: 321.1 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.3651, allocations: 20.84 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.3652, allocations: 43.69 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3653, allocations: 57.81 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3653, allocations: 192 / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.3655, allocations: 101.6 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3655, allocations: 8.75 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3655, allocations: 6.156 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3656, allocations: 1.875 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.3657, allocations: 14.3 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3657, allocations: 9.094 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.3657, allocations: 6.938 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.3657, allocations: 2.984 kB / 0.5239 GB, free: 15.44 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.0001236/0.3659, allocations: 122.5 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.3659, allocations: 9.422 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.366, allocations: 21.56 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.366, allocations: 5.688 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.366, allocations: 0.9688 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.366, allocations: 4.656 kB / 0.524 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.3665, allocations: 390.2 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3665, allocations: 1.844 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.3666, allocations: 8.031 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3666, allocations: 1.797 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3666, allocations: 2.125 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3666, allocations: 1.438 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3666, allocations: 1.312 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3669, allocations: 212 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.367, allocations: 84.95 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.367, allocations: 2.359 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.3671, allocations: 2.516 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.3671, allocations: 10.25 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3671, allocations: 3.922 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3672, allocations: 127.5 kB / 0.5248 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3673, allocations: 0 / 0.5248 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3675, allocations: 25.53 kB / 0.5249 GB, free: 14.56 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.002109/0.3696, allocations: 1.102 MB / 0.5259 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3698, allocations: 56.56 kB / 0.526 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3698, allocations: 1.156 kB / 0.526 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.3699, allocations: 28.33 kB / 0.526 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3703, allocations: 40.78 kB / 0.526 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.3722, allocations: 1.571 MB / 0.5276 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3726, allocations: 0.7015 MB / 0.5283 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.358e-05/0.3727, allocations: 24.14 kB / 0.5283 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.3727, allocations: 32.75 kB / 0.5283 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3727, allocations: 0 / 0.5283 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.396, allocations: 3.259 MB / 0.5315 GB, free: 10.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.437, allocations: 5.328 kB / 0.5315 GB, free: 10.21 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches