Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 105.2 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.002087/0.002087, 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.49/1.49, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2366/0.2366, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.00236/0.002361, allocations: 83.44 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1218, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00328/0.1251, allocations: 1.732 MB / 481.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1269, allocations: 1.017 MB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.127, allocations: 0 / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.1273, allocations: 59.75 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1277, allocations: 99.53 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.128, allocations: 83.66 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1282, allocations: 95.7 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1283, allocations: 19.98 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.1284, allocations: 39.8 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.1285, allocations: 35.78 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1286, allocations: 4 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1287, allocations: 43.98 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.1287, allocations: 27.91 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.1288, allocations: 47.61 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1291, allocations: 135.8 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1291, allocations: 0 / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1291, allocations: 4 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1291, allocations: 0 / 483.6 MB, free: 1.656 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.0006113/0.1297, allocations: 438.7 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1298, allocations: 12.03 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.1298, allocations: 34.75 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.1299, allocations: 16.75 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1301, allocations: 213 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1302, allocations: 12.36 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1302, allocations: 7.875 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1303, allocations: 57.67 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1304, allocations: 7.984 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1304, allocations: 4 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1304, allocations: 0 / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.1305, allocations: 15.98 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1309, allocations: 292.9 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1311, allocations: 66.61 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.1312, allocations: 24.78 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1312, allocations: 0 / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1314, allocations: 71.33 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1314, allocations: 0 / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005867/0.132, allocations: 192.9 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.1321, allocations: 51.41 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1324, allocations: 270.9 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1324, allocations: 29.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.1325, allocations: 112.1 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1325, allocations: 27.64 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1326, allocations: 21.72 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1327, allocations: 326.8 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.1328, allocations: 27.92 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.1329, allocations: 33.7 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.133, allocations: 61.7 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.133, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.1332, allocations: 105.4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1332, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1332, allocations: 4.031 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1333, allocations: 4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.1334, allocations: 19.98 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1334, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.1334, allocations: 7.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1335, allocations: 0 / 486.2 MB, free: 14.89 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.0001389/0.1336, allocations: 141.1 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1336, allocations: 15.81 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.1337, allocations: 21.39 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1337, allocations: 4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1337, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1337, allocations: 3.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.1342, allocations: 411.8 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1342, allocations: 0 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.1343, allocations: 15.98 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1343, allocations: 3.938 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1343, allocations: 8 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1343, allocations: 4.031 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1343, allocations: 192 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1346, allocations: 204.1 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.1347, allocations: 92.89 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1347, allocations: 15.92 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.1348, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1349, allocations: 8 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1349, allocations: 7.984 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.1351, allocations: 208.4 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1351, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1354, allocations: 24 kB / 487.3 MB, free: 13.62 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.002149/0.1375, allocations: 1.09 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1377, allocations: 63.89 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1378, allocations: 4.062 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.1378, allocations: 24 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1382, allocations: 37.02 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.1405, allocations: 1.827 MB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1409, allocations: 0.7196 MB / 491.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.651e-05/0.141, allocations: 20.88 kB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/0.1411, allocations: 43.42 kB / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1411, allocations: 0 / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.1659, allocations: 3.706 MB / 494.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.178, allocations: 15.78 kB / 494.9 MB, free: 6.176 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48_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_Test48.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)