Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001234/0.001234, allocations: 109.2 kB / 16.41 MB, free: 6.488 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.001298/0.001298, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.5/1.5, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2297/0.2297, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.00197/0.00197, allocations: 67.91 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1219, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003427/0.1254, allocations: 1.689 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1269, allocations: 0.8038 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.127, allocations: 4 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1273, allocations: 87.69 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.1276, allocations: 71.72 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1279, allocations: 87.77 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1281, allocations: 107.7 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1282, allocations: 16.2 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1284, allocations: 55.75 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1285, allocations: 59.77 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1285, allocations: 8 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1286, allocations: 35.98 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.1287, allocations: 27.92 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.1288, allocations: 35.73 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.129, allocations: 119.4 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.129, allocations: 0 / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.129, allocations: 0 / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1291, allocations: 0 / 0.4906 GB, free: 9.004 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.0007237/0.1298, allocations: 426.6 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1298, allocations: 19.89 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.1299, allocations: 34.75 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1299, allocations: 12.84 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1303, allocations: 208.2 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1303, allocations: 8.312 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1303, allocations: 7.938 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1305, allocations: 49.67 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1305, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1305, allocations: 8 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1305, allocations: 4 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.1306, allocations: 19.92 kB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.131, allocations: 292.8 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1312, allocations: 54.69 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.1313, allocations: 20.84 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1313, allocations: 7.938 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1315, allocations: 67.39 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1315, allocations: 0 / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005477/0.1321, allocations: 177.3 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.1321, allocations: 51.41 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1323, allocations: 223.5 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1324, allocations: 33.7 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.1325, allocations: 100.1 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1325, allocations: 27.78 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.1325, allocations: 25.72 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1327, allocations: 322.8 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.1328, allocations: 23.98 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.1328, allocations: 33.7 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.133, allocations: 65.64 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.133, allocations: 0 / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.1332, allocations: 101.9 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1332, allocations: 8 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1332, allocations: 0 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1332, allocations: 0 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.1333, allocations: 19.98 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1333, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.1334, allocations: 11.97 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1334, allocations: 8 kB / 0.493 GB, free: 6.336 MB / 382.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.0001245/0.1336, allocations: 133.6 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1336, allocations: 7.953 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.1336, allocations: 17.39 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1337, allocations: 7.938 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1337, allocations: 0 / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1337, allocations: 7.922 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.1342, allocations: 399.3 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1342, allocations: 0 / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1342, allocations: 11.94 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1342, allocations: 3.938 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1343, allocations: 11.98 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1343, allocations: 0 / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1343, allocations: 0 / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1345, allocations: 200.4 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.1346, allocations: 93.02 kB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1346, allocations: 3.938 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.1347, allocations: 7.984 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1347, allocations: 7.938 kB / 0.4938 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1348, allocations: 4.188 kB / 0.4938 GB, free: 5.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1349, allocations: 159.2 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1349, allocations: 3.938 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1352, allocations: 31.92 kB / 0.494 GB, free: 5.137 MB / 382.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.002198/0.1374, allocations: 1.088 MB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1376, allocations: 63.91 kB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1376, allocations: 0 / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.1377, allocations: 27.92 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1381, allocations: 43.27 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1401, allocations: 1.686 MB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.1405, allocations: 0.7122 MB / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.1406, allocations: 20.8 kB / 0.4976 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.1407, allocations: 39.41 kB / 0.4976 GB, free: 1.363 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1407, allocations: 0 / 0.4976 GB, free: 1.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.1663, allocations: 3.474 MB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.1, allocations: 4.062 kB / 0.501 GB, free: 13.86 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches