Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002018, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2441/0.2441, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.003026/0.003026, allocations: 88.84 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1306, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003984/0.1346, allocations: 1.73 MB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1367, allocations: 1.013 MB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.1368, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1371, allocations: 43.77 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.1374, allocations: 103.5 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1376, allocations: 79.66 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1378, allocations: 99.7 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1379, allocations: 8 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.1381, allocations: 47.77 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1382, allocations: 31.8 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1382, allocations: 4 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1384, allocations: 47.98 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.1384, allocations: 23.91 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.1385, allocations: 35.69 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1388, allocations: 115.9 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1388, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1389, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1389, allocations: 0 / 483.6 MB, free: 1.703 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.0007552/0.1396, allocations: 414.9 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1397, allocations: 12.03 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.1398, allocations: 38.75 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.1398, allocations: 12.83 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.1402, allocations: 208.7 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1402, allocations: 12.31 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1403, allocations: 11.92 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1405, allocations: 53.67 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1405, allocations: 3.906 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1405, allocations: 4 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1405, allocations: 0 / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1407, allocations: 15.98 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1411, allocations: 288.9 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1413, allocations: 62.61 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1414, allocations: 16.86 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1414, allocations: 0 / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.1417, allocations: 71.39 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1417, allocations: 0 / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006304/0.1423, allocations: 173.2 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1424, allocations: 51.41 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1426, allocations: 206.2 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1427, allocations: 25.7 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.1428, allocations: 104.1 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1428, allocations: 27.69 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.1429, allocations: 25.72 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1431, allocations: 326.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.1431, allocations: 23.98 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.1432, allocations: 33.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1433, allocations: 53.72 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1433, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.1435, allocations: 113.5 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1436, allocations: 6.656 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1436, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1436, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1437, allocations: 15.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1437, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.1438, allocations: 12.06 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1438, allocations: 4.031 kB / 486 MB, free: 15.08 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.0001188/0.1439, allocations: 133.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1439, allocations: 8.281 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.144, allocations: 17.39 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.144, allocations: 7.938 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.144, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.144, allocations: 7.938 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.1446, allocations: 403.2 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1447, allocations: 0 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.1447, allocations: 8 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1447, allocations: 3.938 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1448, allocations: 8 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1448, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1448, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.1451, allocations: 204.2 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.1452, allocations: 88.92 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1452, allocations: 7.938 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.1453, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1454, allocations: 7.984 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1454, allocations: 0 / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1455, allocations: 152.2 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1455, allocations: 0 / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1458, allocations: 20 kB / 487 MB, free: 13.91 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.002339/0.1482, allocations: 1.103 MB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.1484, allocations: 59.92 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1485, allocations: 0 / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.1485, allocations: 32.12 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1489, allocations: 30.03 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.1509, allocations: 1.647 MB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.1514, allocations: 0.7118 MB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.273e-05/0.1515, allocations: 16.88 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.1516, allocations: 35.42 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1516, allocations: 0 / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.18, allocations: 3.387 MB / 494 MB, free: 6.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.184, allocations: 15.86 kB / 494.1 MB, free: 6.98 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31_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_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)