Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.001601/0.001601, allocations: 108.5 kB / 16.41 MB, free: 6.496 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.001666/0.001666, 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.345/1.345, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1992/0.1992, allocations: 43.53 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.002183/0.002183, allocations: 67.91 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003023/0.1217, allocations: 1.7 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1236, allocations: 1.406 MB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1238, allocations: 4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.1242, allocations: 43.72 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1245, allocations: 63.69 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1248, allocations: 91.7 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.125, allocations: 91.75 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1251, allocations: 12.22 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1253, allocations: 43.78 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1254, allocations: 39.83 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1255, allocations: 4 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1256, allocations: 63.91 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1257, allocations: 11.98 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1258, allocations: 43.73 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1261, allocations: 119.5 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1261, allocations: 4 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1261, allocations: 0 / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1261, allocations: 0 / 0.4911 GB, free: 8.48 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.0008094/0.127, allocations: 402.8 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.127, allocations: 15.89 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/0.1271, allocations: 30.75 kB / 0.4915 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.1272, allocations: 8.891 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.1276, allocations: 227.5 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1277, allocations: 384 / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1277, allocations: 7.938 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.1279, allocations: 67.39 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1279, allocations: 0 / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.128, allocations: 7.984 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.128, allocations: 0 / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1281, allocations: 15.98 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1286, allocations: 292.7 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1288, allocations: 54.67 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.1288, allocations: 24.84 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1289, allocations: 0 / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.129, allocations: 71.33 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.129, allocations: 0 / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005969/0.1296, allocations: 173.5 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1297, allocations: 81.05 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1299, allocations: 153.7 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1299, allocations: 29.7 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.13, allocations: 96.12 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.13, allocations: 31.78 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.1301, allocations: 21.72 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1302, allocations: 322.8 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.1303, allocations: 20.36 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.1303, allocations: 46.5 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1305, allocations: 61.69 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1305, allocations: 4 kB / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1307, allocations: 97.62 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1307, allocations: 4 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1307, allocations: 0 / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1307, allocations: 0 / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1308, allocations: 19.94 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1309, allocations: 3.984 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.1309, allocations: 11.94 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1309, allocations: 4.031 kB / 0.4934 GB, free: 5.863 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.0001051/0.131, allocations: 125.7 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1311, allocations: 7.953 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.1311, allocations: 16.7 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1311, allocations: 0 / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1311, allocations: 0 / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1312, allocations: 3.938 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.1316, allocations: 395.3 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1316, allocations: 4 kB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.1317, allocations: 7.984 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1317, allocations: 7.938 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1317, allocations: 0 / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1317, allocations: 0 / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1317, allocations: 7.938 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1319, allocations: 200.4 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.132, allocations: 85.06 kB / 0.4942 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.1321, allocations: 11.92 kB / 0.4942 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1321, allocations: 4 kB / 0.4942 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.1322, allocations: 7.984 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1322, allocations: 7.984 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.1323, allocations: 114.9 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1323, allocations: 0 / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1326, allocations: 31.92 kB / 0.4944 GB, free: 4.738 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.001705/0.1343, allocations: 1.141 MB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1345, allocations: 55.91 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1345, allocations: 0 / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.1346, allocations: 31.98 kB / 0.4956 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.135, allocations: 31.33 kB / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1367, allocations: 1.558 MB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.137, allocations: 0.7002 MB / 0.4978 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.1371, allocations: 21.33 kB / 0.4979 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.1372, allocations: 31.42 kB / 0.4979 GB, free: 1.074 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1372, allocations: 7.875 kB / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.1587, allocations: 3.535 MB / 0.5013 GB, free: 13.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.576, allocations: 7.906 kB / 0.5014 GB, free: 13.45 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches