Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001846/0.001846, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001955/0.001955, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2078/0.2078, allocations: 43.52 MB / 314.1 MB, free: 464 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.001968/0.001968, allocations: 81.45 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1103, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003163/0.1135, allocations: 1.848 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1149, allocations: 0.8935 MB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.115, allocations: 0 / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.1154, allocations: 159.5 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.1157, allocations: 139.5 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1161, allocations: 151.6 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1164, allocations: 211.4 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1165, allocations: 29.52 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1166, allocations: 99.66 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1168, allocations: 127.5 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1168, allocations: 8 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1169, allocations: 43.98 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.117, allocations: 51.83 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.1171, allocations: 67.48 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.1174, allocations: 199 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1174, allocations: 0 / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1174, allocations: 0 / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1174, allocations: 0 / 0.4914 GB, free: 8.188 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006964/0.1181, allocations: 0.5208 MB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1182, allocations: 11.89 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1182, allocations: 38.73 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.1183, allocations: 28.75 kB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1186, allocations: 271.7 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1186, allocations: 8.359 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1187, allocations: 7.938 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1189, allocations: 103.3 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1189, allocations: 0 / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1189, allocations: 4 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1189, allocations: 0 / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1191, allocations: 43.91 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.1196, allocations: 433 kB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1199, allocations: 117.3 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.12, allocations: 45.7 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.12, allocations: 4 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.1202, allocations: 109 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1202, allocations: 4 kB / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008659/0.1211, allocations: 368.8 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1212, allocations: 89.05 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.1215, allocations: 347 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1216, allocations: 33.7 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.1217, allocations: 140.4 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.1217, allocations: 55.53 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.1218, allocations: 37.64 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1219, allocations: 338.8 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1221, allocations: 35.98 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1222, allocations: 79.39 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1224, allocations: 123.5 kB / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1224, allocations: 4 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003285/0.1228, allocations: 181.3 kB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1228, allocations: 8 kB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1228, allocations: 3.984 kB / 0.4948 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1228, allocations: 4 kB / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.123, allocations: 31.92 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.123, allocations: 3.938 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.123, allocations: 8 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1231, allocations: 8 kB / 0.4949 GB, free: 4.305 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001478/0.1232, allocations: 161.8 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.1233, allocations: 27.84 kB / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.1233, allocations: 33.73 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1234, allocations: 3.938 kB / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1234, allocations: 0 / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1234, allocations: 4 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.1242, allocations: 0.6086 MB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1242, allocations: 0 / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.1242, allocations: 19.98 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1242, allocations: 4 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1243, allocations: 0 / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1243, allocations: 7.938 kB / 0.4957 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1243, allocations: 0 / 0.4957 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.1247, allocations: 364.6 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.1248, allocations: 109.5 kB / 0.4962 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1248, allocations: 0 / 0.4962 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.125, allocations: 8 kB / 0.4962 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.125, allocations: 15.92 kB / 0.4962 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.125, allocations: 15.98 kB / 0.4962 GB, free: 2.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.1253, allocations: 265.9 kB / 0.4965 GB, free: 2.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1253, allocations: 4 kB / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.1256, allocations: 32 kB / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002276/0.1279, allocations: 1.264 MB / 0.4977 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.1282, allocations: 115.9 kB / 0.4979 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1283, allocations: 4.062 kB / 0.4979 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1284, allocations: 59.91 kB / 0.4979 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.1289, allocations: 52.78 kB / 0.498 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.1317, allocations: 2.45 MB / 0.5004 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.1321, allocations: 0.7554 MB / 0.5011 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.848e-05/0.1322, allocations: 33.92 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1324, allocations: 79.41 kB / 0.5012 GB, free: 13.6 MB / 398.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1324, allocations: 0 / 0.5012 GB, free: 13.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.1585, allocations: 5.411 MB / 0.5065 GB, free: 8.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.22, allocations: 0 / 0.5065 GB, free: 8.164 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_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_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches