Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001237/0.001237, allocations: 109.3 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.001117/0.001117, 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.505/1.505, 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.2118/0.2118, allocations: 43.51 MB / 314.1 MB, free: 472 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.001395/0.001395, allocations: 75.91 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003661/0.1211, allocations: 1.7 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1233, allocations: 1.406 MB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.1234, allocations: 0 / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1237, allocations: 39.77 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.1241, allocations: 71.62 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1244, allocations: 83.77 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1246, allocations: 103.7 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1247, allocations: 12.22 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1249, allocations: 51.77 kB / 0.4909 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.125, allocations: 31.86 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1251, allocations: 8 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.1252, allocations: 71.83 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.1253, allocations: 15.98 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1254, allocations: 43.73 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.1257, allocations: 131.5 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1257, allocations: 0 / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1257, allocations: 0 / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1257, allocations: 0 / 0.4911 GB, free: 8.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006375/0.1264, allocations: 414.8 kB / 0.4915 GB, free: 8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1264, allocations: 11.89 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.1265, allocations: 34.75 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.1265, allocations: 16.83 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1269, allocations: 212.5 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1269, allocations: 4 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.127, allocations: 4 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1272, allocations: 79.34 kB / 0.4919 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1272, allocations: 3.938 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1272, allocations: 4 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1272, allocations: 4 kB / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.1273, allocations: 31.91 kB / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.1278, allocations: 288.8 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.128, allocations: 70.67 kB / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.1281, allocations: 24.84 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1281, allocations: 0 / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.1283, allocations: 79.31 kB / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1283, allocations: 0 / 0.4924 GB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006465/0.129, allocations: 201.4 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.129, allocations: 81.05 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1292, allocations: 158.5 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1292, allocations: 33.64 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.1293, allocations: 100.1 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.1294, allocations: 27.78 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1294, allocations: 25.7 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1295, allocations: 326.8 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.1296, allocations: 20 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.1297, allocations: 42.56 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1298, allocations: 77.67 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1298, allocations: 0 / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002152/0.13, allocations: 113.5 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1301, allocations: 8 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1301, allocations: 3.938 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.1301, allocations: 0 / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1302, allocations: 23.92 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1302, allocations: 0 / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.1303, allocations: 8 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1303, allocations: 7.969 kB / 0.4936 GB, free: 5.699 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 (11): * Single equations (assignments): 11 * 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.0001001/0.1304, allocations: 129.8 kB / 0.4937 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1305, allocations: 15.94 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.1305, allocations: 16.66 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1305, allocations: 0 / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1305, allocations: 0 / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1305, allocations: 0 / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.131, allocations: 419.2 kB / 0.4941 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.131, allocations: 4 kB / 0.4941 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.1311, allocations: 8 kB / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1311, allocations: 96 / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1311, allocations: 7.938 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1311, allocations: 7.922 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1311, allocations: 0 / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1314, allocations: 224.2 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.1314, allocations: 85.06 kB / 0.4944 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1315, allocations: 0 / 0.4944 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.1316, allocations: 11.98 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1316, allocations: 4 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1316, allocations: 4 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.717e-05/0.1317, allocations: 123.9 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1317, allocations: 0 / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.132, allocations: 35.92 kB / 0.4946 GB, free: 4.516 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 (9): * Single equations (assignments): 7 * 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.001528/0.1336, allocations: 1.139 MB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1338, allocations: 71.89 kB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1338, allocations: 0 / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.1339, allocations: 36.05 kB / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1342, allocations: 39.02 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.136, allocations: 1.613 MB / 0.4974 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1362, allocations: 0.7041 MB / 0.4981 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.48e-05/0.1363, allocations: 28.92 kB / 0.4982 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.1364, allocations: 31.61 kB / 0.4982 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1364, allocations: 7.938 kB / 0.4982 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.1584, allocations: 3.707 MB / 0.5018 GB, free: 12.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.511, allocations: 11.98 kB / 0.5018 GB, free: 12.96 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches