Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, 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.002196/0.002197, 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.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.237/0.237, allocations: 46.12 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.002226/0.002226, allocations: 76.97 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003329/0.1257, allocations: 1.728 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1275, allocations: 1.017 MB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1276, allocations: 3.938 kB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1279, allocations: 83.77 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.1283, allocations: 115.5 kB / 483.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1285, allocations: 83.66 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1287, allocations: 107.7 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1288, allocations: 12 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1289, allocations: 55.75 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.129, allocations: 59.77 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.129, allocations: 4 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1291, allocations: 47.92 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.1292, allocations: 19.92 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.1293, allocations: 47.72 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1295, allocations: 119.8 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1295, allocations: 4 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1295, allocations: 0 / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1295, allocations: 0 / 483.7 MB, free: 1.633 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.0006044/0.1301, allocations: 422.9 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1302, allocations: 8.031 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1302, allocations: 42.73 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1303, allocations: 12.75 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1305, allocations: 215.9 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1306, allocations: 384 / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1306, allocations: 19.81 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1307, allocations: 49.67 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1308, allocations: 4 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1308, allocations: 3.984 kB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1308, allocations: 8 kB / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1309, allocations: 15.98 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.1313, allocations: 288.8 kB / 484.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1315, allocations: 58.67 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.1315, allocations: 20.86 kB / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1316, allocations: 3.984 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.1318, allocations: 71.33 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1318, allocations: 0 / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.1323, allocations: 169.1 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1324, allocations: 63.33 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1327, allocations: 224.2 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1327, allocations: 29.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.1328, allocations: 108.1 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1328, allocations: 27.64 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1329, allocations: 17.72 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.133, allocations: 330.8 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.1331, allocations: 15.98 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.1331, allocations: 37.7 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1333, allocations: 70 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1333, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1335, allocations: 97.5 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1335, allocations: 4 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1335, allocations: 4 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1335, allocations: 4 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.1336, allocations: 23.92 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1336, allocations: 4.031 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1337, allocations: 7.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1337, allocations: 0 / 486.1 MB, free: 14.95 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.0001178/0.1338, allocations: 132.4 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1339, allocations: 11.91 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.1339, allocations: 17.55 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1339, allocations: 0 / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1339, allocations: 8.125 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.134, allocations: 3.938 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.1345, allocations: 407.2 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1346, allocations: 3.984 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.1346, allocations: 8 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.1346, allocations: 3.938 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1346, allocations: 8 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1346, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1346, allocations: 3.938 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1349, allocations: 196.3 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.135, allocations: 92.91 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.135, allocations: 11.94 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1351, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1352, allocations: 7.984 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1352, allocations: 4 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1354, allocations: 169.2 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1354, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1356, allocations: 20 kB / 487.2 MB, free: 13.76 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.002234/0.1379, allocations: 1.102 MB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1381, allocations: 59.91 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1381, allocations: 0 / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.1382, allocations: 31.94 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1386, allocations: 45.83 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.1409, allocations: 1.707 MB / 490.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1413, allocations: 0.7041 MB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.203e-05/0.1414, allocations: 12.88 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/0.1414, allocations: 39.42 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1414, allocations: 4 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.1681, allocations: 3.493 MB / 494.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.08, allocations: 19.34 kB / 494.4 MB, free: 6.656 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)