Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.00165/0.001651, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002036/0.002037, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.49/1.49, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2547/0.2547, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 69.17 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003053/0.117, allocations: 1.715 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1184, allocations: 0.8847 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.1185, allocations: 7.938 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.1189, allocations: 79.75 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.1192, allocations: 71.67 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1195, allocations: 115.6 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1197, allocations: 111.7 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1198, allocations: 16 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.12, allocations: 59.75 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1201, allocations: 55.77 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1201, allocations: 4 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1203, allocations: 55.98 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.1203, allocations: 19.92 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.1204, allocations: 39.72 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1207, allocations: 131.8 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1207, allocations: 3.938 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1207, allocations: 3.938 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1207, allocations: 4 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005738/0.1213, allocations: 426.9 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1213, allocations: 8.031 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1214, allocations: 34.75 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.1214, allocations: 16.75 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1217, allocations: 216.1 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1217, allocations: 384 / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1217, allocations: 7.938 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1219, allocations: 73.58 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1219, allocations: 0 / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1219, allocations: 0 / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.122, allocations: 0 / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.122, allocations: 23.98 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.1225, allocations: 304.7 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1227, allocations: 66.48 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.1228, allocations: 20.98 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1228, allocations: 4 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.123, allocations: 71.44 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/0.123, allocations: 0 / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007798/0.1238, allocations: 237 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1239, allocations: 59.34 kB / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1241, allocations: 211.5 kB / 474.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1241, allocations: 33.64 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.1242, allocations: 108.1 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1242, allocations: 31.55 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.1243, allocations: 29.7 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1244, allocations: 322.8 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1245, allocations: 31.98 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.141e-05/0.1246, allocations: 48.83 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1248, allocations: 77.75 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1248, allocations: 4 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002297/0.125, allocations: 133.4 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.125, allocations: 4 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.125, allocations: 0 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1251, allocations: 4.031 kB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.1251, allocations: 31.86 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1252, allocations: 0 / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.1252, allocations: 8 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1252, allocations: 0 / 475.3 MB, free: 8.051 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001116/0.1253, allocations: 133.8 kB / 475.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.1254, allocations: 19.75 kB / 475.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.1254, allocations: 13.41 kB / 475.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1255, allocations: 11.94 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1255, allocations: 3.984 kB / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1255, allocations: 0 / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.126, allocations: 444 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1261, allocations: 4 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.1261, allocations: 15.98 kB / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1261, allocations: 0 / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1261, allocations: 4.062 kB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1262, allocations: 4 kB / 476 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1262, allocations: 3.938 kB / 476 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1264, allocations: 232.9 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1265, allocations: 85.02 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1265, allocations: 12 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1266, allocations: 4 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.1267, allocations: 11.98 kB / 476.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1267, allocations: 11.98 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1268, allocations: 164.2 kB / 476.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 476.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1271, allocations: 31.98 kB / 476.5 MB, free: 6.754 MB / 350.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 (11): * Single equations (assignments): 9 * 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.001702/0.1288, allocations: 1.169 MB / 477.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1291, allocations: 87.84 kB / 477.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1291, allocations: 0 / 477.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.1292, allocations: 43.98 kB / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1295, allocations: 28.05 kB / 477.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1316, allocations: 1.783 MB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1319, allocations: 0.7155 MB / 480.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.132, allocations: 24.62 kB / 480.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.1321, allocations: 43.42 kB / 480.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1321, allocations: 0 / 480.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.1579, allocations: 3.712 MB / 484.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/7.941, allocations: 14.91 kB / 484.1 MB, free: 15.28 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches