Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001143/0.001143, allocations: 102.3 kB / 16.4 MB, free: 6.512 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.001193/0.001193, allocations: 192.2 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.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2154/0.2154, allocations: 43.52 MB / 314.1 MB, free: 468 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.001755/0.001755, allocations: 69.47 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1199, allocations: 57.8 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003694/0.1237, allocations: 1.844 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1252, allocations: 0.9013 MB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1254, allocations: 7.938 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.126, allocations: 223.4 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.1264, allocations: 159.4 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.1269, allocations: 155.7 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1272, allocations: 227.3 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1274, allocations: 25.53 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1276, allocations: 111.6 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1278, allocations: 147.5 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1278, allocations: 8 kB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.128, allocations: 47.98 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.1281, allocations: 55.77 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.973e-05/0.1282, allocations: 79.36 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1285, allocations: 219 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1285, allocations: 0 / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1285, allocations: 0 / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1285, allocations: 0 / 0.4916 GB, free: 8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007269/0.1292, allocations: 0.5484 MB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.1293, allocations: 11.89 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.1294, allocations: 46.73 kB / 0.4922 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.1294, allocations: 28.75 kB / 0.4922 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.1298, allocations: 272.4 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1299, allocations: 4.375 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1299, allocations: 15.86 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1301, allocations: 95.36 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1301, allocations: 0 / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1302, allocations: 0 / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1302, allocations: 8 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1303, allocations: 39.97 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.1309, allocations: 452.9 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1311, allocations: 121.3 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.1312, allocations: 41.7 kB / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1313, allocations: 0 / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.1315, allocations: 124.9 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1315, allocations: 0 / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008775/0.1324, allocations: 365.2 kB / 0.4937 GB, free: 5.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1325, allocations: 81.05 kB / 0.4937 GB, free: 5.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.1329, allocations: 432.5 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1329, allocations: 33.7 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.133, allocations: 156.3 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.133, allocations: 51.58 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.1331, allocations: 37.7 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1332, allocations: 342.8 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1334, allocations: 43.97 kB / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1335, allocations: 67.61 kB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1337, allocations: 127.3 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1337, allocations: 0 / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003133/0.134, allocations: 181.4 kB / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1341, allocations: 4 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1341, allocations: 0 / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1341, allocations: 4 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1342, allocations: 39.92 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1343, allocations: 4 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.1343, allocations: 8 kB / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1344, allocations: 4 kB / 0.4952 GB, free: 3.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001566/0.1345, allocations: 165.7 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.1346, allocations: 35.77 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.092e-05/0.1347, allocations: 38.92 kB / 0.4954 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1347, allocations: 7.938 kB / 0.4954 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1347, allocations: 4 kB / 0.4954 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1347, allocations: 0 / 0.4954 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007791/0.1355, allocations: 0.6241 MB / 0.496 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1355, allocations: 4 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1356, allocations: 16 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1356, allocations: 4 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1356, allocations: 8.047 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1356, allocations: 4 kB / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1356, allocations: 0 / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.136, allocations: 372.1 kB / 0.4964 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.1361, allocations: 96.92 kB / 0.4965 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.1361, allocations: 12 kB / 0.4965 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1363, allocations: 7.984 kB / 0.4965 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1363, allocations: 15.98 kB / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.1364, allocations: 4 kB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000291/0.1367, allocations: 323 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1367, allocations: 0 / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.137, allocations: 36 kB / 0.4969 GB, free: 2.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001681/0.1387, allocations: 1.274 MB / 0.4982 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.139, allocations: 119.8 kB / 0.4983 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1391, allocations: 0 / 0.4983 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1392, allocations: 59.91 kB / 0.4983 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.1397, allocations: 61.91 kB / 0.4984 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.1429, allocations: 2.636 MB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1433, allocations: 0.7632 MB / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1434, allocations: 25.94 kB / 0.5017 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1436, allocations: 87.39 kB / 0.5018 GB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1436, allocations: 0 / 0.5018 GB, free: 12.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.1666, allocations: 5.743 MB / 0.5074 GB, free: 7.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.6, allocations: 11.94 kB / 0.5074 GB, free: 7.172 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches