Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001388/0.001388, allocations: 101.8 kB / 16.4 MB, free: 6.441 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.001291/0.001291, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.527/1.527, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2279/0.2279, 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.001689/0.001689, allocations: 77.61 kB / 441.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1111, allocations: 57.8 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003278/0.1144, allocations: 1.912 MB / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1159, allocations: 0.8387 MB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.116, allocations: 0 / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1164, allocations: 47.7 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.1166, allocations: 59.69 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1169, allocations: 111.7 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1172, allocations: 135.6 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1173, allocations: 29.47 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1175, allocations: 59.7 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.1176, allocations: 55.72 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1176, allocations: 4 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1177, allocations: 51.97 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1178, allocations: 27.8 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.1179, allocations: 51.61 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1181, allocations: 143.3 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1181, allocations: 4 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1181, allocations: 0 / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1182, allocations: 0 / 0.4909 GB, free: 8.656 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006866/0.1188, allocations: 0.4884 MB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1189, allocations: 11.89 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.1189, allocations: 42.73 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.119, allocations: 12.84 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1193, allocations: 220.2 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1194, allocations: 4.375 kB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1194, allocations: 15.89 kB / 0.4917 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1196, allocations: 108.2 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1197, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1197, allocations: 8 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1197, allocations: 0 / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1199, allocations: 47.91 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.1205, allocations: 0.5088 MB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1208, allocations: 86.61 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.1209, allocations: 36.83 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1209, allocations: 8 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.1212, allocations: 83.36 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.477e-06/0.1212, allocations: 0 / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004094/0.1216, allocations: 149.4 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.1216, allocations: 55.34 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1218, allocations: 187.5 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1219, allocations: 33.7 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.1219, allocations: 112.5 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.122, allocations: 31.73 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.122, allocations: 25.72 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1222, allocations: 326.8 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.1223, allocations: 31.92 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1224, allocations: 68.27 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1226, allocations: 92.22 kB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1226, allocations: 4 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002947/0.1229, allocations: 141.4 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1229, allocations: 4 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1229, allocations: 3.938 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.123, allocations: 11.88 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.1231, allocations: 19.98 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1231, allocations: 7.984 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.1232, allocations: 15.88 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1232, allocations: 8.125 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001033/0.1233, allocations: 129.7 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1233, allocations: 15.91 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.1234, allocations: 21.39 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1234, allocations: 3.938 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1234, allocations: 4 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1234, allocations: 0 / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1236, allocations: 209.6 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1236, allocations: 0 / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.1237, allocations: 15.98 kB / 0.4942 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1237, allocations: 0 / 0.4942 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1237, allocations: 4 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.1237, allocations: 3.938 kB / 0.4942 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1237, allocations: 0 / 0.4942 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1241, allocations: 181 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.1242, allocations: 97.03 kB / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1242, allocations: 8 kB / 0.4945 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.1243, allocations: 7.938 kB / 0.4945 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1243, allocations: 7.984 kB / 0.4945 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1244, allocations: 4 kB / 0.4945 GB, free: 4.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1245, allocations: 137.2 kB / 0.4946 GB, free: 4.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1245, allocations: 3.938 kB / 0.4946 GB, free: 4.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1247, allocations: 24 kB / 0.4946 GB, free: 4.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001425/0.1262, allocations: 1.026 MB / 0.4956 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1264, allocations: 75.91 kB / 0.4957 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1265, allocations: 256 / 0.4957 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1266, allocations: 43.91 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1269, allocations: 51.2 kB / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1288, allocations: 1.736 MB / 0.4975 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1291, allocations: 0.7123 MB / 0.4982 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.469e-05/0.1292, allocations: 25.34 kB / 0.4982 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.1293, allocations: 43.42 kB / 0.4983 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1293, allocations: 0 / 0.4983 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1538, allocations: 3.758 MB / 0.5019 GB, free: 12.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/7.943, allocations: 0 / 0.5019 GB, free: 12.83 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches