Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001067/0.001067, allocations: 109.2 kB / 16.41 MB, free: 6.449 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.00107/0.00107, allocations: 192.8 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.374/1.374, 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.2373/0.2373, allocations: 43.52 MB / 314.1 MB, free: 472 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.001877/0.001877, allocations: 71.91 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003023/0.1189, allocations: 1.693 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1202, allocations: 0.7999 MB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.1203, allocations: 4 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.1208, allocations: 87.69 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1211, allocations: 75.72 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1214, allocations: 87.77 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.1217, allocations: 107.7 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1218, allocations: 12.22 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1219, allocations: 51.77 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1221, allocations: 59.75 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1221, allocations: 8 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1222, allocations: 43.98 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.1223, allocations: 31.91 kB / 0.4905 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.1224, allocations: 35.73 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1226, allocations: 119.4 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1226, allocations: 0 / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1227, allocations: 0 / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1227, allocations: 0 / 0.4906 GB, free: 9.012 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.0006128/0.1233, allocations: 426.6 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1233, allocations: 15.89 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.1234, allocations: 30.75 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.1234, allocations: 16.84 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.1238, allocations: 208.2 kB / 0.4913 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1238, allocations: 384 / 0.4913 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1239, allocations: 11.88 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.124, allocations: 53.67 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.124, allocations: 0 / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1241, allocations: 0 / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1241, allocations: 4 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.1242, allocations: 27.92 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.1247, allocations: 288.8 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1249, allocations: 54.67 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.1249, allocations: 24.84 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.125, allocations: 11.94 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.1251, allocations: 59.39 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1252, allocations: 0 / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006041/0.1258, allocations: 181.7 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1258, allocations: 51.41 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.126, allocations: 215.5 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1261, allocations: 25.7 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.1261, allocations: 116.1 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.1262, allocations: 27.78 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1262, allocations: 21.72 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1264, allocations: 322.8 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.1264, allocations: 23.98 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.1265, allocations: 37.7 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1267, allocations: 69.77 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.1267, allocations: 0 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.1269, allocations: 113.5 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1269, allocations: 4 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1269, allocations: 0 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1269, allocations: 0 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.127, allocations: 19.98 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.127, allocations: 0 / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.1271, allocations: 7.969 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1271, allocations: 4 kB / 0.493 GB, free: 6.344 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.0001257/0.1273, allocations: 133.8 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.1273, allocations: 7.953 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1273, allocations: 17.41 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1274, allocations: 0 / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1274, allocations: 3.938 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.1274, allocations: 7.922 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.1279, allocations: 399.3 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1279, allocations: 0 / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1279, allocations: 11.94 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.1279, allocations: 7.938 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1279, allocations: 4 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.128, allocations: 0 / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.128, allocations: 3.984 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1282, allocations: 200.4 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1283, allocations: 85.02 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.1283, allocations: 11.94 kB / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1284, allocations: 0 / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.1285, allocations: 11.92 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1285, allocations: 4 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1286, allocations: 159.2 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 192 / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1289, allocations: 31.92 kB / 0.494 GB, free: 5.152 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.00157/0.1305, allocations: 1.108 MB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1307, allocations: 55.91 kB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1307, allocations: 0 / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/0.1308, allocations: 31.94 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1311, allocations: 39.31 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1329, allocations: 1.682 MB / 0.4969 GB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1333, allocations: 0.7044 MB / 0.4975 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.1333, allocations: 20.48 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.1334, allocations: 39.42 kB / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1334, allocations: 0 / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1561, allocations: 3.474 MB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.784, allocations: 11.83 kB / 0.501 GB, free: 13.86 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_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_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches