Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2462/0.2462, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 87.64 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.134, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003624/0.1376, allocations: 1.724 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1395, allocations: 1.025 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1396, allocations: 3.938 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.14, allocations: 51.83 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1403, allocations: 95.53 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1406, allocations: 83.66 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1408, allocations: 99.7 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.141, allocations: 19.98 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1411, allocations: 43.78 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.1412, allocations: 27.8 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1412, allocations: 4 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1413, allocations: 51.91 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.1414, allocations: 23.92 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.1415, allocations: 51.61 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1417, allocations: 131.8 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1418, allocations: 3.938 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1418, allocations: 0 / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1418, allocations: 4 kB / 483.6 MB, free: 1.684 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006283/0.1424, allocations: 454.6 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1425, allocations: 8.031 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.1425, allocations: 34.73 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1426, allocations: 16.75 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1428, allocations: 219.9 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.1429, allocations: 384 / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1429, allocations: 7.938 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1431, allocations: 57.67 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1431, allocations: 0 / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1431, allocations: 0 / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1431, allocations: 0 / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.1432, allocations: 19.98 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.1437, allocations: 312.6 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1439, allocations: 62.67 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.1439, allocations: 16.86 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.144, allocations: 0 / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.1442, allocations: 71.33 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1442, allocations: 0 / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005867/0.1448, allocations: 177.4 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1448, allocations: 59.34 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.1452, allocations: 288.2 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1452, allocations: 29.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1453, allocations: 112.1 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1453, allocations: 27.64 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1454, allocations: 21.72 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1455, allocations: 326.8 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.1456, allocations: 27.98 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.1457, allocations: 37.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1458, allocations: 65.69 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1458, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000202/0.146, allocations: 105.6 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1461, allocations: 4 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1461, allocations: 80 / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1461, allocations: 12.16 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.1462, allocations: 19.92 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1462, allocations: 7.922 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.1463, allocations: 7.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.1463, allocations: 4 kB / 486.2 MB, free: 14.88 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001338/0.1464, allocations: 140.2 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1465, allocations: 11.81 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.1465, allocations: 25.39 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1465, allocations: 4 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1466, allocations: 0 / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1466, allocations: 3.938 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.1471, allocations: 407.3 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1471, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.1471, allocations: 11.98 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1471, allocations: 3.938 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1472, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1472, allocations: 4.031 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1472, allocations: 7.938 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1474, allocations: 204.1 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.1475, allocations: 85.02 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.1475, allocations: 11.92 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.1476, allocations: 4 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1477, allocations: 8 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1477, allocations: 7.984 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1479, allocations: 212.6 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1479, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1482, allocations: 31.89 kB / 487.4 MB, free: 13.61 MB / 366.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 (8): * Single equations (assignments): 6 * 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.002128/0.1503, allocations: 1.099 MB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1505, allocations: 63.91 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1505, allocations: 4.062 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.1506, allocations: 32.08 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.151, allocations: 40 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1531, allocations: 1.84 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1535, allocations: 0.7236 MB / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.1536, allocations: 12.89 kB / 491.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.1537, allocations: 47.41 kB / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1537, allocations: 3.938 kB / 491.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.1791, allocations: 3.768 MB / 495 MB, free: 6.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.181, allocations: 12.47 kB / 495 MB, free: 6.074 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)