Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001336, 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.001367/0.001367, 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.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2189/0.2189, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002258/0.002258, allocations: 80.81 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1192, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003276/0.1225, allocations: 1.732 MB / 481.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1242, allocations: 1.021 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.1243, allocations: 3.938 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.1246, allocations: 55.77 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1249, allocations: 95.59 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.1251, allocations: 79.66 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1252, allocations: 99.7 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.1253, allocations: 19.98 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.1254, allocations: 43.78 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.1255, allocations: 27.8 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1255, allocations: 4 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1256, allocations: 51.91 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.1257, allocations: 23.92 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.1258, allocations: 43.67 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.126, allocations: 131.8 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.126, allocations: 7.984 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.126, allocations: 0 / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.126, allocations: 4 kB / 483.6 MB, free: 1.664 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.0006051/0.1266, allocations: 438.7 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1267, allocations: 8.031 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.1267, allocations: 38.75 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1268, allocations: 12.75 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.127, allocations: 220.9 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.127, allocations: 8.359 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1271, allocations: 7.938 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1272, allocations: 57.67 kB / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1272, allocations: 0 / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1273, allocations: 3.984 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1273, allocations: 7.938 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.856e-05/0.1273, allocations: 15.98 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1277, allocations: 300.8 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1279, allocations: 62.67 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.128, allocations: 24.78 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.128, allocations: 0 / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.1282, allocations: 75.33 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1282, allocations: 0 / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005201/0.1287, allocations: 181 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1288, allocations: 59.34 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.1291, allocations: 270.9 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1291, allocations: 25.7 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.1292, allocations: 116.1 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1292, allocations: 27.64 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.1293, allocations: 21.72 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1294, allocations: 326.8 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.1295, allocations: 19.98 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1296, allocations: 37.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1297, allocations: 65.64 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1297, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.1299, allocations: 101.5 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1299, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.13, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.13, allocations: 4.031 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.1301, allocations: 27.92 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1301, allocations: 0 / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1301, allocations: 3.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1301, allocations: 4 kB / 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.000115/0.1303, allocations: 133.8 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1303, allocations: 15.81 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1304, allocations: 21.39 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1304, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1304, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1304, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1309, allocations: 411.2 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1309, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.1309, allocations: 12.17 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1309, allocations: 3.938 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1309, allocations: 3.938 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/0.131, allocations: 7.938 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.131, allocations: 7.969 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1312, allocations: 200.2 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.1313, allocations: 85.02 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1313, allocations: 16.3 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1314, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1314, allocations: 4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1314, allocations: 15.98 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.1317, allocations: 204.4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1317, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1319, allocations: 28 kB / 487.3 MB, free: 13.63 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.002111/0.1341, allocations: 1.1 MB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1342, allocations: 59.91 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1343, allocations: 64 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.1343, allocations: 31.94 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1347, allocations: 37.14 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1368, allocations: 1.819 MB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1371, allocations: 0.7235 MB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.5e-05/0.1372, allocations: 21.17 kB / 491.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.1372, allocations: 43.42 kB / 491.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1372, allocations: 0 / 491.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.1616, allocations: 3.703 MB / 494.9 MB, free: 6.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.176, allocations: 19.02 kB / 494.9 MB, free: 6.188 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49_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_Test49.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)