Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001255/0.001254, allocations: 110.8 kB / 16.41 MB, free: 6.445 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.001292/0.001292, allocations: 188.1 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.463/1.463, 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.2242/0.2242, allocations: 43.52 MB / 314.1 MB, free: 468 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.00202/0.00202, allocations: 72.47 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1181, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00336/0.1215, allocations: 1.689 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1231, allocations: 0.8 MB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.1232, allocations: 8 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.1235, allocations: 47.75 kB / 0.49 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1238, allocations: 59.75 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1241, allocations: 91.7 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1242, allocations: 115.7 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.1244, allocations: 12.22 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.494e-05/0.1245, allocations: 51.77 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1246, allocations: 47.78 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1246, allocations: 8 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1247, allocations: 47.97 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1248, allocations: 27.91 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.1248, allocations: 39.73 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1251, allocations: 131.4 kB / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1251, allocations: 0 / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1251, allocations: 0 / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1251, allocations: 0 / 0.4906 GB, free: 9.055 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.0006112/0.1257, allocations: 434 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1258, allocations: 11.89 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.1258, allocations: 38.73 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.1259, allocations: 8.891 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1262, allocations: 228.8 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1262, allocations: 384 / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1262, allocations: 7.938 kB / 0.4913 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1264, allocations: 69.64 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1264, allocations: 4 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1264, allocations: 3.984 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1264, allocations: 7.938 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1266, allocations: 35.97 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.127, allocations: 308.8 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1272, allocations: 70.67 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.1273, allocations: 40.78 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1273, allocations: 0 / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1275, allocations: 83.44 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.1275, allocations: 0 / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006915/0.1282, allocations: 221.3 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1282, allocations: 55.41 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1285, allocations: 183.3 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1285, allocations: 33.7 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.1286, allocations: 100.1 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.1286, allocations: 31.75 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.1287, allocations: 29.7 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1288, allocations: 322.9 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.1289, allocations: 35.86 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.569e-05/0.129, allocations: 49.64 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1292, allocations: 77.7 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1292, allocations: 0 / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002596/0.1295, allocations: 129.5 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1295, allocations: 8 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1295, allocations: 0 / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1295, allocations: 3.938 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.1296, allocations: 19.98 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1296, allocations: 3.938 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.1297, allocations: 8.031 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1297, allocations: 8 kB / 0.4931 GB, free: 6.195 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 (12): * Single equations (assignments): 12 * 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.1298, allocations: 125.8 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1299, allocations: 15.91 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.1299, allocations: 25.38 kB / 0.4933 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.13, allocations: 4 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.13, allocations: 7.938 kB / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.13, allocations: 0 / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.1305, allocations: 435.2 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1306, allocations: 0 / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.1306, allocations: 16.19 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1306, allocations: 3.938 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1306, allocations: 7.938 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.1306, allocations: 3.984 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1307, allocations: 0 / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.131, allocations: 228.3 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.131, allocations: 89 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.1311, allocations: 7.984 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.1312, allocations: 4 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1312, allocations: 7.984 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1312, allocations: 7.938 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1314, allocations: 136.9 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1314, allocations: 7.938 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1317, allocations: 31.94 kB / 0.4942 GB, free: 4.941 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 (10): * Single equations (assignments): 8 * 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.002247/0.1339, allocations: 1.115 MB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1341, allocations: 83.91 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1342, allocations: 0 / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.1343, allocations: 39.92 kB / 0.4954 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1346, allocations: 28.09 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1367, allocations: 1.739 MB / 0.4972 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1371, allocations: 0.7045 MB / 0.4979 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.628e-05/0.1372, allocations: 21.08 kB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.1373, allocations: 39.42 kB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1373, allocations: 0 / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.1621, allocations: 3.646 MB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.923, allocations: 7.875 kB / 0.5015 GB, free: 13.4 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_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_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches