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.00128/0.00128, allocations: 100.7 kB / 16.4 MB, free: 6.434 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.001361/0.001361, allocations: 191.8 kB / 17.34 MB, free: 5.711 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.485/1.485, 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.2134/0.2134, allocations: 43.53 MB / 314.1 MB, free: 444 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.002039/0.002039, allocations: 78.02 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1231, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00437/0.1275, allocations: 2.303 MB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1299, allocations: 1.174 MB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1301, allocations: 11.94 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007083/0.1309, allocations: 295 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.1315, allocations: 262.9 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.1325, allocations: 327.3 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.1331, allocations: 0.5102 MB / 0.4922 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1333, allocations: 57.06 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.1336, allocations: 231 kB / 0.4925 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.1339, allocations: 267 kB / 0.4928 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.134, allocations: 16 kB / 0.4928 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1341, allocations: 55.98 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1343, allocations: 107.5 kB / 0.4929 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.1345, allocations: 170.8 kB / 0.4931 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.135, allocations: 402 kB / 0.4935 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.135, allocations: 0 / 0.4935 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.135, allocations: 0 / 0.4935 GB, free: 6.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.135, allocations: 4 kB / 0.4935 GB, free: 6.035 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.001339/0.1364, allocations: 0.7783 MB / 0.4942 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1364, allocations: 11.89 kB / 0.4942 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.1365, allocations: 46.73 kB / 0.4943 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.1366, allocations: 52.61 kB / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.1373, allocations: 420.3 kB / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.1373, allocations: 16.38 kB / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.1373, allocations: 15.94 kB / 0.4948 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.1378, allocations: 206.3 kB / 0.495 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1378, allocations: 0 / 0.495 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1378, allocations: 4 kB / 0.495 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1378, allocations: 4 kB / 0.495 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.1381, allocations: 99.86 kB / 0.4951 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.139, allocations: 0.8605 MB / 0.4959 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.1397, allocations: 289.2 kB / 0.4962 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.1399, allocations: 100.2 kB / 0.4963 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1399, allocations: 4 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/0.1404, allocations: 236.1 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.1404, allocations: 0 / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002132/0.1426, allocations: 1.005 MB / 0.4975 GB, free: 1.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.1427, allocations: 162.2 kB / 0.4976 GB, free: 1.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.1434, allocations: 0.6121 MB / 0.4982 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.1435, allocations: 45.7 kB / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1437, allocations: 221 kB / 0.4985 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.1438, allocations: 123 kB / 0.4986 GB, free: 432 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.1439, allocations: 70.12 kB / 0.4987 GB, free: 356 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1441, allocations: 370.8 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.1444, allocations: 100.8 kB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.1447, allocations: 186.7 kB / 0.4993 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.1453, allocations: 304.6 kB / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1453, allocations: 0 / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007692/0.1461, allocations: 409 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1461, allocations: 7.938 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1461, allocations: 4 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1461, allocations: 4 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.1464, allocations: 75.91 kB / 0.5001 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.1464, allocations: 11.92 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1466, allocations: 23.98 kB / 0.5001 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.1467, allocations: 16 kB / 0.5001 GB, free: 14.79 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.000233/0.1469, allocations: 216.3 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.147, allocations: 55.62 kB / 0.5004 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1471, allocations: 68.3 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1472, allocations: 4 kB / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1472, allocations: 4 kB / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1472, allocations: 0 / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.1489, allocations: 1.268 MB / 0.5017 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.1489, allocations: 7.984 kB / 0.5017 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.149, allocations: 47.92 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1491, allocations: 4 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.1491, allocations: 24.08 kB / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1491, allocations: 4 kB / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1491, allocations: 4 kB / 0.5018 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009758/0.1501, allocations: 0.8052 MB / 0.5026 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1502, allocations: 124.7 kB / 0.5027 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.1503, allocations: 19.94 kB / 0.5027 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.1506, allocations: 19.98 kB / 0.5027 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/0.1507, allocations: 35.89 kB / 0.5028 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.1508, allocations: 23.98 kB / 0.5028 GB, free: 11.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005372/0.1513, allocations: 458.8 kB / 0.5032 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1513, allocations: 0 / 0.5032 GB, free: 11.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000554/0.1519, allocations: 79.94 kB / 0.5033 GB, free: 11.4 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.003032/0.1549, allocations: 1.747 MB / 0.505 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.1556, allocations: 291.7 kB / 0.5053 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1556, allocations: 3.938 kB / 0.5053 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1559, allocations: 148.4 kB / 0.5054 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.1571, allocations: 143.7 kB / 0.5056 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/0.1634, allocations: 4.404 MB / 0.5099 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.1639, allocations: 0.8434 MB / 0.5107 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.1642, allocations: 83.38 kB / 0.5108 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.1645, allocations: 175.4 kB / 0.5109 GB, free: 3.367 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1645, allocations: 0 / 0.5109 GB, free: 3.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.2035, allocations: 10.54 MB / 0.5212 GB, free: 8.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.549/8.753, allocations: 0 / 0.5212 GB, free: 8.797 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