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.001513/0.001513, allocations: 113.8 kB / 16.4 MB, free: 6.379 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.001239/0.001239, allocations: 191 kB / 17.33 MB, free: 5.844 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.449/1.449, 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.2274/0.2274, allocations: 43.52 MB / 314.1 MB, free: 456 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.001333/0.001333, allocations: 65.62 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003623/0.1206, allocations: 1.693 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1221, allocations: 0.8038 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.1222, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1226, allocations: 47.75 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1228, allocations: 63.75 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1231, allocations: 87.7 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1233, allocations: 123.7 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.1234, allocations: 8.219 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1235, allocations: 59.77 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.1236, allocations: 35.84 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1237, allocations: 4 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1238, allocations: 51.97 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.1239, allocations: 31.92 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.1239, allocations: 39.73 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1242, allocations: 135.3 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1242, allocations: 0 / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1242, allocations: 0 / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1242, allocations: 0 / 0.4906 GB, free: 9.031 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.000563/0.1248, allocations: 426.7 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1248, allocations: 11.89 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.1249, allocations: 30.75 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1249, allocations: 16.89 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1252, allocations: 220.8 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1252, allocations: 8.375 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1253, allocations: 11.88 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1254, allocations: 65.64 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1255, allocations: 0 / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1255, allocations: 4 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1255, allocations: 4 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1256, allocations: 35.97 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.126, allocations: 316.7 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1262, allocations: 78.61 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.1263, allocations: 28.84 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1263, allocations: 4 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1265, allocations: 79.38 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.1265, allocations: 4 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006087/0.1271, allocations: 225.3 kB / 0.4921 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.1272, allocations: 59.34 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1273, allocations: 179.3 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1274, allocations: 37.69 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.1274, allocations: 96.14 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1275, allocations: 35.73 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.1275, allocations: 29.7 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.1276, allocations: 322.8 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.1277, allocations: 31.98 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.1278, allocations: 45.64 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1279, allocations: 81.64 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1279, allocations: 4 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002223/0.1282, allocations: 129.5 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1282, allocations: 4 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1282, allocations: 0 / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1282, allocations: 4 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.1283, allocations: 23.97 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1283, allocations: 3.938 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1284, allocations: 4 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1284, allocations: 4.031 kB / 0.4931 GB, free: 6.176 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.0001046/0.1285, allocations: 137.7 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1285, allocations: 11.91 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.1286, allocations: 21.41 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1286, allocations: 0 / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1286, allocations: 3.938 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1286, allocations: 8.172 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1291, allocations: 435.2 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1291, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.1292, allocations: 15.98 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1292, allocations: 7.875 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1292, allocations: 4 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1292, allocations: 4 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1292, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1295, allocations: 232.2 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.1295, allocations: 85 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1296, allocations: 4 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.1296, allocations: 7.984 kB / 0.494 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1297, allocations: 8 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1297, allocations: 7.984 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1298, allocations: 136.9 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1298, allocations: 0 / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.1302, allocations: 31.88 kB / 0.4942 GB, free: 4.926 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.001438/0.1316, allocations: 1.118 MB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1318, allocations: 75.91 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1318, allocations: 4 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.1319, allocations: 39.92 kB / 0.4954 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1323, allocations: 31.98 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1341, allocations: 1.735 MB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1343, allocations: 0.7084 MB / 0.4978 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.1344, allocations: 25.06 kB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.1345, allocations: 39.8 kB / 0.4979 GB, free: 1.055 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1345, allocations: 0 / 0.4979 GB, free: 1.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.1553, allocations: 3.642 MB / 0.5015 GB, free: 13.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.292, allocations: 8 kB / 0.5015 GB, free: 13.38 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