Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.001267/0.001267, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001314/0.001314, allocations: 188.1 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.352/1.352, 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.211/0.211, allocations: 43.52 MB / 314.1 MB, free: 480 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.002017/0.002017, allocations: 75.88 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 57.8 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003167/0.1106, allocations: 1.778 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1129, allocations: 1.484 MB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.113, allocations: 4 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1133, allocations: 55.69 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1136, allocations: 95.53 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.114, allocations: 135.7 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.1142, allocations: 175.5 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.1143, allocations: 21.52 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1144, allocations: 83.56 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1146, allocations: 67.69 kB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1147, allocations: 12 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1148, allocations: 59.97 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1149, allocations: 35.84 kB / 0.4914 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.115, allocations: 59.59 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1153, allocations: 163.3 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1153, allocations: 4 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1153, allocations: 0 / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1153, allocations: 0 / 0.4916 GB, free: 8.004 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006764/0.116, allocations: 481.7 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.116, allocations: 23.88 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.1161, allocations: 30.75 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.1161, allocations: 16.84 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.1165, allocations: 239.8 kB / 0.4923 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1165, allocations: 4.375 kB / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1165, allocations: 15.92 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1168, allocations: 101 kB / 0.4925 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1168, allocations: 0 / 0.4925 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1168, allocations: 4 kB / 0.4925 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1168, allocations: 0 / 0.4925 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1169, allocations: 31.97 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.1172, allocations: 206.5 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.1175, allocations: 113.1 kB / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.912e-05/0.1176, allocations: 45.62 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.1176, allocations: 4 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.1179, allocations: 113 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1179, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000481/0.1184, allocations: 165.4 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.1185, allocations: 128.5 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1188, allocations: 215.8 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.1188, allocations: 29.69 kB / 0.4935 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.1189, allocations: 116.1 kB / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.1189, allocations: 31.73 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.119, allocations: 33.7 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1192, allocations: 326.8 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.1193, allocations: 23.98 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1194, allocations: 81.06 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.1196, allocations: 83.36 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1196, allocations: 7.938 kB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002897/0.1199, allocations: 134.1 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1199, allocations: 8 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1199, allocations: 4.094 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.12, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1201, allocations: 20 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1201, allocations: 7.922 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.1202, allocations: 15.95 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1202, allocations: 4 kB / 0.4943 GB, free: 4.879 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000122/0.1203, allocations: 137.7 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.1204, allocations: 15.91 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.1204, allocations: 25 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1204, allocations: 3.984 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1205, allocations: 0 / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1205, allocations: 4 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1207, allocations: 213.5 kB / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1207, allocations: 0 / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.1207, allocations: 4 kB / 0.4947 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1207, allocations: 4 kB / 0.4947 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1208, allocations: 3.984 kB / 0.4947 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1208, allocations: 3.938 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1208, allocations: 7.938 kB / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.1211, allocations: 173.7 kB / 0.4949 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.1212, allocations: 89.06 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1212, allocations: 3.984 kB / 0.495 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.1213, allocations: 4.094 kB / 0.495 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1213, allocations: 15.92 kB / 0.495 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1214, allocations: 4 kB / 0.495 GB, free: 4.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.1215, allocations: 169.5 kB / 0.4952 GB, free: 3.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1216, allocations: 0 / 0.4952 GB, free: 3.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1218, allocations: 39.89 kB / 0.4952 GB, free: 3.875 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002182/0.124, allocations: 1.046 MB / 0.4962 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.1243, allocations: 79.91 kB / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1243, allocations: 0 / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1244, allocations: 52.22 kB / 0.4963 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1248, allocations: 52.16 kB / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.1271, allocations: 1.824 MB / 0.4982 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1275, allocations: 0.7125 MB / 0.4989 GB, free: 16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.096e-05/0.1276, allocations: 29.53 kB / 0.4989 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1277, allocations: 55.41 kB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1277, allocations: 3.938 kB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1561, allocations: 4.699 MB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/7.894, allocations: 0 / 0.5035 GB, free: 11.14 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches