Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_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.001231/0.001231, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.002362/0.002362, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 69.75 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1206, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003808/0.1245, allocations: 2.287 MB / 471.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1265, allocations: 1.29 MB / 473 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1267, allocations: 7.938 kB / 473 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.1272, allocations: 287 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.1277, allocations: 262.8 kB / 473.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.1284, allocations: 373.5 kB / 473.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.1289, allocations: 0.5141 MB / 474.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1291, allocations: 45.09 kB / 474.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.1293, allocations: 231.1 kB / 474.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1296, allocations: 259 kB / 474.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.1296, allocations: 24 kB / 474.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1298, allocations: 55.98 kB / 475 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1299, allocations: 107.5 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.13, allocations: 174.6 kB / 475.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.1304, allocations: 394.8 kB / 475.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1304, allocations: 4 kB / 475.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1304, allocations: 0 / 475.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1305, allocations: 0 / 475.6 MB, free: 7.977 MB / 350.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.001079/0.1315, allocations: 0.7592 MB / 476.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1316, allocations: 12.02 kB / 476.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.1316, allocations: 42.73 kB / 476.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.1317, allocations: 52.28 kB / 476.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.1322, allocations: 396 kB / 476.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1322, allocations: 16.36 kB / 476.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1323, allocations: 23.83 kB / 476.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.1326, allocations: 205.8 kB / 477.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1327, allocations: 4 kB / 477.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.1327, allocations: 4 kB / 477.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1327, allocations: 4 kB / 477.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.1329, allocations: 99.86 kB / 477.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.1337, allocations: 0.8488 MB / 478.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.1344, allocations: 293.2 kB / 478.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.1346, allocations: 100.2 kB / 478.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1346, allocations: 4 kB / 478.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.135, allocations: 231.9 kB / 478.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.1351, allocations: 3.938 kB / 478.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001925/0.137, allocations: 0.9797 MB / 479.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.1371, allocations: 170.2 kB / 479.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.1377, allocations: 0.612 MB / 480.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.1377, allocations: 37.7 kB / 480.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1379, allocations: 217.1 kB / 480.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/0.138, allocations: 122.3 kB / 480.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.1381, allocations: 78.12 kB / 480.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1382, allocations: 370.8 kB / 481.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1384, allocations: 96.83 kB / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.1387, allocations: 184.9 kB / 481.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.1393, allocations: 300.6 kB / 481.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1393, allocations: 4 kB / 481.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006762/0.14, allocations: 400.6 kB / 482.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.14, allocations: 4 kB / 482.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.14, allocations: 4.156 kB / 482.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.14, allocations: 8 kB / 482.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.1403, allocations: 81.59 kB / 482.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1403, allocations: 11.92 kB / 482.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1405, allocations: 19.88 kB / 482.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1406, allocations: 23.98 kB / 482.4 MB, free: 0.8008 MB / 350.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.000197/0.1408, allocations: 204.3 kB / 482.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.1408, allocations: 59.33 kB / 482.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.141, allocations: 63.91 kB / 482.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.141, allocations: 8 kB / 482.7 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.141, allocations: 0 / 482.7 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.141, allocations: 4 kB / 482.7 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.1425, allocations: 1.265 MB / 484 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1425, allocations: 7.984 kB / 484 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1427, allocations: 43.92 kB / 484 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1427, allocations: 4 kB / 484 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.1427, allocations: 23.92 kB / 484.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1427, allocations: 8.156 kB / 484.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1427, allocations: 4 kB / 484.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.1436, allocations: 0.8045 MB / 484.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.1437, allocations: 124.4 kB / 485 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.1437, allocations: 19.88 kB / 485 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.1441, allocations: 19.98 kB / 485 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.1441, allocations: 39.89 kB / 485.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.1442, allocations: 20 kB / 485.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.1446, allocations: 458.8 kB / 485.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 485.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.1452, allocations: 80 kB / 485.6 MB, free: 13.43 MB / 366.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.00206/0.1472, allocations: 1.734 MB / 487.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.1478, allocations: 299.6 kB / 487.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1479, allocations: 3.938 kB / 487.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.1482, allocations: 151.7 kB / 487.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.1492, allocations: 140.6 kB / 487.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/0.1547, allocations: 4.513 MB / 492.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1551, allocations: 0.8512 MB / 493.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000261/0.1554, allocations: 83.38 kB / 493.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.1556, allocations: 171.4 kB / 493.5 MB, free: 5.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1556, allocations: 0 / 493.5 MB, free: 5.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.1866, allocations: 10.4 MB / 0.4921 GB, free: 11.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.089, allocations: 14.73 kB / 0.4922 GB, free: 11.16 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches