Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001072/0.001072, allocations: 99.56 kB / 16.27 MB, free: 5.961 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.001033/0.001033, allocations: 196.1 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.229/0.229, allocations: 43.51 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 72.09 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1248, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003002/0.1279, allocations: 1.693 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.129, allocations: 0.7961 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.1291, allocations: 8 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1295, allocations: 39.77 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1297, allocations: 55.77 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1299, allocations: 83.75 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1301, allocations: 95.7 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1302, allocations: 8.172 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.1303, allocations: 47.77 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.1304, allocations: 35.8 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1304, allocations: 4 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.1305, allocations: 35.98 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1305, allocations: 23.91 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.1306, allocations: 31.75 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1308, allocations: 111.7 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1308, allocations: 4 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1308, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1308, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.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.0004473/0.1313, allocations: 414.9 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.1313, allocations: 15.89 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.1314, allocations: 34.75 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.1314, allocations: 8.844 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.1316, allocations: 205 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1316, allocations: 384 / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1316, allocations: 11.94 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1318, allocations: 49.67 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1318, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1318, allocations: 7.984 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1318, allocations: 4 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.649e-05/0.1319, allocations: 23.92 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.1322, allocations: 288.8 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1324, allocations: 54.67 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1324, allocations: 28.8 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1325, allocations: 7.875 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.1327, allocations: 71.38 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1327, allocations: 0 / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000538/0.1332, allocations: 173.2 kB / 445.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.1333, allocations: 51.41 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1334, allocations: 198 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1334, allocations: 29.7 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.1335, allocations: 100.1 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1335, allocations: 19.72 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1336, allocations: 29.7 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.1336, allocations: 322.8 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.1337, allocations: 12 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.1337, allocations: 37.7 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.1339, allocations: 69.62 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1339, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001591/0.134, allocations: 105.5 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.134, allocations: 4 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1341, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1341, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.1342, allocations: 16 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1342, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1342, allocations: 15.95 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1342, allocations: 0 / 446 MB, free: 1.117 MB / 318.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 8.207e-05/0.1343, allocations: 133.2 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1344, allocations: 15.81 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1344, allocations: 16.7 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1344, allocations: 0 / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1344, allocations: 0 / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1344, allocations: 11.88 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.1348, allocations: 387.4 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1348, allocations: 0 / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.1348, allocations: 15.92 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1348, allocations: 3.938 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1349, allocations: 4 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1349, allocations: 384 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1349, allocations: 192 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.135, allocations: 204.3 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.1351, allocations: 92.86 kB / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1351, allocations: 7.938 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.1352, allocations: 7.984 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1352, allocations: 11.94 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1352, allocations: 4 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1354, allocations: 139.2 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1354, allocations: 4 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1356, allocations: 20 kB / 447.1 MB, free: 15.95 MB / 334.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.001549/0.1372, allocations: 1.092 MB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1374, allocations: 67.91 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1374, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.1375, allocations: 27.94 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1379, allocations: 30.12 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1396, allocations: 1.627 MB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1399, allocations: 0.7079 MB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.651e-05/0.14, allocations: 21.16 kB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.1401, allocations: 31.42 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1401, allocations: 3.938 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.1602, allocations: 3.293 MB / 454 MB, free: 8.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.007, allocations: 3.938 kB / 454 MB, free: 8.973 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches