Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.001144/0.001144, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001218/0.001218, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2353/0.2353, allocations: 43.53 MB / 314.1 MB, free: 440 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.002387/0.002387, allocations: 73.45 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1218, allocations: 57.78 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004244/0.1261, allocations: 2.311 MB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1285, allocations: 1.174 MB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.1288, allocations: 11.94 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.1294, allocations: 287 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.1301, allocations: 266.9 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.131, allocations: 327.3 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.1318, allocations: 0.5102 MB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.132, allocations: 53.06 kB / 0.4923 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.1325, allocations: 235 kB / 0.4925 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.1328, allocations: 263 kB / 0.4927 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.1329, allocations: 20 kB / 0.4928 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1331, allocations: 55.98 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.1332, allocations: 111.5 kB / 0.4929 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.1335, allocations: 178.7 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.134, allocations: 402 kB / 0.4935 GB, free: 6.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.134, allocations: 0 / 0.4935 GB, free: 6.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.134, allocations: 0 / 0.4935 GB, free: 6.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.134, allocations: 4 kB / 0.4935 GB, free: 6.016 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001228/0.1353, allocations: 0.7744 MB / 0.4942 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1353, allocations: 15.89 kB / 0.4943 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.1354, allocations: 46.73 kB / 0.4943 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1355, allocations: 52.61 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.1363, allocations: 420.3 kB / 0.4947 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1363, allocations: 12.38 kB / 0.4948 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.1364, allocations: 23.92 kB / 0.4948 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.1368, allocations: 194.3 kB / 0.495 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1368, allocations: 7.938 kB / 0.495 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.1369, allocations: 11.98 kB / 0.495 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1369, allocations: 4 kB / 0.495 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.1371, allocations: 91.88 kB / 0.4951 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009462/0.1381, allocations: 0.8566 MB / 0.4959 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.1387, allocations: 285.3 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.1389, allocations: 92.27 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.139, allocations: 15.98 kB / 0.4963 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.1394, allocations: 236.1 kB / 0.4965 GB, free: 2.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.1394, allocations: 0 / 0.4965 GB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002141/0.1415, allocations: 0.9976 MB / 0.4975 GB, free: 1.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.1417, allocations: 162.2 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.1424, allocations: 0.6121 MB / 0.4982 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.1424, allocations: 45.69 kB / 0.4983 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1426, allocations: 217 kB / 0.4985 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1427, allocations: 134.9 kB / 0.4986 GB, free: 416 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.1428, allocations: 70.12 kB / 0.4987 GB, free: 340 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.143, allocations: 370.8 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1433, allocations: 96.81 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.1436, allocations: 190.7 kB / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.1441, allocations: 296.8 kB / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1441, allocations: 4 kB / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007292/0.1448, allocations: 405.1 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1448, allocations: 8 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1449, allocations: 4 kB / 0.5 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1449, allocations: 7.938 kB / 0.5 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.1452, allocations: 87.83 kB / 0.5001 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1452, allocations: 4 kB / 0.5001 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1454, allocations: 15.98 kB / 0.5001 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.1455, allocations: 20 kB / 0.5001 GB, free: 14.78 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002266/0.1457, allocations: 216.2 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/0.1458, allocations: 59.62 kB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.1459, allocations: 63.91 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1459, allocations: 8 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.146, allocations: 3.984 kB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.146, allocations: 0 / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.1475, allocations: 1.257 MB / 0.5017 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.1475, allocations: 8 kB / 0.5017 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.1477, allocations: 51.91 kB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1477, allocations: 4 kB / 0.5018 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.1477, allocations: 20.09 kB / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.1477, allocations: 12 kB / 0.5018 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1477, allocations: 7.984 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/0.1486, allocations: 0.8087 MB / 0.5026 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.1487, allocations: 124.8 kB / 0.5027 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.1488, allocations: 19.92 kB / 0.5027 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.1491, allocations: 23.92 kB / 0.5027 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.1492, allocations: 31.97 kB / 0.5028 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.1493, allocations: 19.98 kB / 0.5028 GB, free: 11.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004683/0.1497, allocations: 454.8 kB / 0.5032 GB, free: 11.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1497, allocations: 4 kB / 0.5032 GB, free: 11.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005453/0.1503, allocations: 83.92 kB / 0.5033 GB, free: 11.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002169/0.1525, allocations: 1.744 MB / 0.505 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000628/0.1531, allocations: 288.3 kB / 0.5053 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1531, allocations: 4 kB / 0.5053 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.1534, allocations: 149.1 kB / 0.5054 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.1545, allocations: 149.9 kB / 0.5056 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.1602, allocations: 4.404 MB / 0.5099 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.1607, allocations: 0.8512 MB / 0.5107 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.1609, allocations: 75.41 kB / 0.5108 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.1612, allocations: 175.4 kB / 0.5109 GB, free: 3.352 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1612, allocations: 0 / 0.5109 GB, free: 3.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.193, allocations: 10.54 MB / 0.5212 GB, free: 8.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.572, allocations: 3.938 kB / 0.5212 GB, free: 8.773 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches