Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001819/0.001819, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001998/0.001999, allocations: 179.1 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.422/1.422, 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.2284/0.2284, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3585, allocations: 60.82 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002677/0.3612, allocations: 1.713 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3624, allocations: 0.8761 MB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.3625, allocations: 0.8125 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.3628, allocations: 43.31 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.363, allocations: 57.42 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.3633, allocations: 113.9 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.3634, allocations: 95.84 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.3635, allocations: 8.109 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.3636, allocations: 45.55 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.3637, allocations: 24.56 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3637, allocations: 4.031 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3638, allocations: 47.17 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.3639, allocations: 23.92 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.364, allocations: 46.23 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3642, allocations: 120.4 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.3642, allocations: 0 / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3642, allocations: 0 / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3642, allocations: 1 kB / 0.5216 GB, free: 1.223 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.0004704/0.3647, allocations: 434.2 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3647, allocations: 9.219 kB / 0.5221 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.3648, allocations: 32.89 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.3648, allocations: 10.67 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.365, allocations: 224.7 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3651, allocations: 1.875 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.3651, allocations: 10.5 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3652, allocations: 53.97 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3652, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3653, allocations: 1.703 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3653, allocations: 1.156 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.3653, allocations: 18.03 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.3656, allocations: 300.8 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3658, allocations: 57.22 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.3659, allocations: 23.69 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3659, allocations: 1.969 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.366, allocations: 65.64 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3661, allocations: 0 / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005451/0.3666, allocations: 181.7 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.3667, allocations: 57.5 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3669, allocations: 222.2 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3669, allocations: 27.2 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.367, allocations: 109.4 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.3671, allocations: 34.11 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.3671, allocations: 26.59 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3673, allocations: 323.6 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.3674, allocations: 21.06 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.3674, allocations: 35.28 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3676, allocations: 57.78 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3676, allocations: 192 / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.3678, allocations: 106.4 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3678, allocations: 9.5 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3678, allocations: 3.938 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3678, allocations: 1.719 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.3679, allocations: 15.58 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3679, allocations: 4.875 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.368, allocations: 10.86 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.368, allocations: 3.531 kB / 0.524 GB, free: 15.12 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.000114/0.3681, allocations: 132.6 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3682, allocations: 15.16 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.3682, allocations: 21.39 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3682, allocations: 1.344 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3682, allocations: 0.7031 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.3683, allocations: 5.25 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.3688, allocations: 392.9 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3688, allocations: 1.188 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.3688, allocations: 13.36 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3688, allocations: 5 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3688, allocations: 7.578 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3688, allocations: 1.125 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3689, allocations: 0 / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3691, allocations: 210.6 kB / 0.5248 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.3692, allocations: 85.58 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3692, allocations: 10.33 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.3693, allocations: 6.953 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3693, allocations: 5.938 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3694, allocations: 4.125 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3695, allocations: 173.6 kB / 0.5251 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3695, allocations: 2.219 kB / 0.5251 GB, free: 14.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3698, allocations: 25.28 kB / 0.5251 GB, free: 14.21 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.3719, allocations: 1.104 MB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3721, allocations: 60.31 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3721, allocations: 0 / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.3722, allocations: 24.92 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.3725, allocations: 39.7 kB / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3745, allocations: 1.727 MB / 0.528 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3749, allocations: 0.7143 MB / 0.5287 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.237e-05/0.375, allocations: 21.11 kB / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.3751, allocations: 34.75 kB / 0.5287 GB, free: 11.22 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3751, allocations: 0 / 0.5287 GB, free: 11.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.4008, allocations: 3.533 MB / 0.5322 GB, free: 9.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.428, allocations: 8.719 kB / 0.5322 GB, free: 9.668 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_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_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches