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.001225/0.001225, allocations: 107.7 kB / 16.41 MB, free: 6.465 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.001198/0.001198, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.46/1.46, 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.2691/0.2691, allocations: 43.53 MB / 314.1 MB, free: 444 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.002221/0.002221, allocations: 77.45 kB / 441.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1212, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004162/0.1254, allocations: 1.697 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.1277, allocations: 1.406 MB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.1278, allocations: 7.938 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.1282, allocations: 35.83 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.1286, allocations: 63.64 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1289, allocations: 99.69 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1291, allocations: 95.75 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1292, allocations: 16.22 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1294, allocations: 47.77 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1296, allocations: 47.77 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.1296, allocations: 4 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1298, allocations: 59.92 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.1298, allocations: 23.97 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.1299, allocations: 39.73 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1303, allocations: 127.5 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1303, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1303, allocations: 4 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1303, allocations: 0 / 0.4911 GB, free: 8.422 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.0006842/0.131, allocations: 414.7 kB / 0.4915 GB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.131, allocations: 11.89 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.1311, allocations: 34.75 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.1311, allocations: 8.891 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1316, allocations: 224.5 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1316, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1316, allocations: 8 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.1319, allocations: 71.33 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1319, allocations: 3.938 kB / 0.4919 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1319, allocations: 11.97 kB / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1319, allocations: 0 / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.132, allocations: 31.98 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.1325, allocations: 292.8 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1328, allocations: 66.61 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.1329, allocations: 24.86 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1329, allocations: 0 / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.1331, allocations: 83.42 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.1331, allocations: 4 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006744/0.1338, allocations: 193.3 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.1339, allocations: 81.05 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1341, allocations: 158.4 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1341, allocations: 25.8 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1342, allocations: 112 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.1342, allocations: 23.8 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.1343, allocations: 33.64 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1345, allocations: 318.8 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.1345, allocations: 23.98 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.1346, allocations: 50.56 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1348, allocations: 69.73 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1348, allocations: 4 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002322/0.135, allocations: 117.5 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1351, allocations: 4 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1351, allocations: 3.938 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1351, allocations: 3.984 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.1352, allocations: 16 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1352, allocations: 0 / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1353, allocations: 8 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1353, allocations: 11.97 kB / 0.4936 GB, free: 5.66 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.0001143/0.1354, allocations: 125.8 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1355, allocations: 7.953 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.1355, allocations: 20.64 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1355, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1355, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1355, allocations: 3.938 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.1361, allocations: 415.3 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1361, allocations: 0 / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.1362, allocations: 15.92 kB / 0.4941 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1362, allocations: 4 kB / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1362, allocations: 96 / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1362, allocations: 3.938 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1362, allocations: 4 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1365, allocations: 220.2 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.1366, allocations: 89.05 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1366, allocations: 0 / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1367, allocations: 4 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1367, allocations: 11.98 kB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1368, allocations: 4 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1369, allocations: 123.9 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1369, allocations: 0 / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1372, allocations: 27.94 kB / 0.4946 GB, free: 4.492 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.002514/0.1397, allocations: 1.154 MB / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.14, allocations: 71.91 kB / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.14, allocations: 0 / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.377e-05/0.1401, allocations: 36.05 kB / 0.4958 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.1405, allocations: 35.72 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.1427, allocations: 1.613 MB / 0.4975 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.1431, allocations: 0.7002 MB / 0.4981 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1432, allocations: 20.94 kB / 0.4982 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1434, allocations: 35.61 kB / 0.4982 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of SimCode: time 2.955e-06/0.1434, allocations: 0 / 0.4982 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.1707, allocations: 3.716 MB / 0.5018 GB, free: 12.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.078, allocations: 7.922 kB / 0.5018 GB, free: 12.94 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