Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.001122/0.001122, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001175/0.001175, allocations: 191.4 kB / 17.34 MB, free: 5.738 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2247/0.2247, allocations: 43.51 MB / 314.1 MB, free: 460 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.00147/0.00147, allocations: 73.45 kB / 441.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 57.78 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.005138/0.1291, allocations: 1.662 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1311, allocations: 0.7844 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1313, allocations: 3.938 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.1317, allocations: 55.8 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.1321, allocations: 55.77 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1325, allocations: 87.7 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1327, allocations: 87.69 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.1328, allocations: 15.98 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1329, allocations: 39.78 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.133, allocations: 27.86 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1331, allocations: 4 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1332, allocations: 35.97 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.1333, allocations: 23.92 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.1333, allocations: 35.69 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1336, allocations: 123.4 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1336, allocations: 0 / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1337, allocations: 0 / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1337, allocations: 4 kB / 0.4904 GB, free: 9.148 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006832/0.1344, allocations: 430.6 kB / 0.4908 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1344, allocations: 11.89 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1345, allocations: 30.75 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.1345, allocations: 16.84 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.1349, allocations: 223.8 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1349, allocations: 384 / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.135, allocations: 7.938 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1351, allocations: 53.61 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1351, allocations: 0 / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1352, allocations: 0 / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1352, allocations: 4 kB / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.1353, allocations: 15.98 kB / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.1355, allocations: 193.7 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1357, allocations: 50.56 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.1357, allocations: 24.84 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.1358, allocations: 0 / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.136, allocations: 71.33 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.136, allocations: 3.938 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003259/0.1363, allocations: 93.58 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1364, allocations: 55.41 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1367, allocations: 262.5 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1367, allocations: 29.64 kB / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.1368, allocations: 116.1 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1368, allocations: 15.88 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.1369, allocations: 21.72 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.137, allocations: 322.8 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.1371, allocations: 15.98 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.1372, allocations: 29.72 kB / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.956e-05/0.1373, allocations: 45.7 kB / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1373, allocations: 3.938 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001822/0.1375, allocations: 81.84 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1375, allocations: 8 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1375, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1375, allocations: 3.984 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.1376, allocations: 16.03 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1377, allocations: 4 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.1377, allocations: 3.953 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1377, allocations: 4 kB / 0.4926 GB, free: 6.672 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 (7): * Single equations (assignments): 7 * 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.0001366/0.1379, allocations: 145.4 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1379, allocations: 15.91 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.138, allocations: 20.98 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.138, allocations: 0 / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.138, allocations: 0 / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.138, allocations: 4 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1382, allocations: 201.5 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1382, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.1383, allocations: 4 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1383, allocations: 0 / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1383, allocations: 4 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1383, allocations: 3.984 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1383, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1385, allocations: 113 kB / 0.4931 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.1386, allocations: 96.98 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1386, allocations: 7.938 kB / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.1387, allocations: 0 / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.1387, allocations: 0 / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1387, allocations: 7.984 kB / 0.4932 GB, free: 5.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.1389, allocations: 196.5 kB / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1389, allocations: 0 / 0.4934 GB, free: 5.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1392, allocations: 19.89 kB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001483/0.1407, allocations: 0.9423 MB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1409, allocations: 39.92 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1409, allocations: 0 / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.141, allocations: 19.98 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1413, allocations: 36.03 kB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1433, allocations: 1.665 MB / 0.496 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1436, allocations: 0.7119 MB / 0.4967 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.1436, allocations: 20.53 kB / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.1437, allocations: 39.42 kB / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.106e-06/0.1437, allocations: 0 / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.1634, allocations: 3.398 MB / 0.5001 GB, free: 14.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.464, allocations: 7.938 kB / 0.5001 GB, free: 14.76 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_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_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches