Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001773/0.001773, 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.00204/0.00204, 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.523/1.523, 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.2223/0.2223, allocations: 46.1 MB / 344.2 MB, free: 11.59 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.002304/0.002304, allocations: 82.92 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003306/0.1226, allocations: 1.689 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1243, allocations: 0.9977 MB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.1244, allocations: 4 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1247, allocations: 55.73 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.125, allocations: 99.59 kB / 483.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1252, allocations: 71.67 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1254, allocations: 107.7 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1254, allocations: 8.219 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.1255, allocations: 43.8 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.1256, allocations: 39.83 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1256, allocations: 4 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.1257, allocations: 35.92 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.1258, allocations: 19.92 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.1259, allocations: 35.73 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1261, allocations: 99.94 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1261, allocations: 4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.298e-05/0.1261, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1261, allocations: 0 / 483.5 MB, free: 1.816 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005726/0.1267, allocations: 407 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1268, allocations: 8.031 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.1268, allocations: 30.75 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.1268, allocations: 12.75 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1271, allocations: 208.1 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1271, allocations: 4.375 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1271, allocations: 11.94 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1273, allocations: 49.66 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1273, allocations: 0 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1273, allocations: 0 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1273, allocations: 0 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.1274, allocations: 15.98 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.1276, allocations: 185.6 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1278, allocations: 58.5 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.1279, allocations: 20.84 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1279, allocations: 0 / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.1281, allocations: 63.39 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.447e-06/0.1281, allocations: 0 / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000291/0.1284, allocations: 101.5 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1285, allocations: 59.39 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1287, allocations: 183.3 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1287, allocations: 25.7 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.1288, allocations: 100.1 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1288, allocations: 15.81 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1289, allocations: 17.72 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1291, allocations: 322.8 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.1291, allocations: 19.98 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.1292, allocations: 25.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1293, allocations: 45.91 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1293, allocations: 7.938 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.1295, allocations: 77.58 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1295, allocations: 4 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1295, allocations: 0 / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1295, allocations: 8.031 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.1296, allocations: 11.94 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1296, allocations: 0 / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.1297, allocations: 15.89 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1297, allocations: 0 / 485.6 MB, free: 15.5 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 (7): * Single equations (assignments): 7 * 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.0001069/0.1298, allocations: 121.8 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.1298, allocations: 7.906 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.1299, allocations: 16.98 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1299, allocations: 4 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1299, allocations: 7.938 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1299, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1301, allocations: 189.6 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1301, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.1301, allocations: 3.984 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1301, allocations: 4 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1302, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1302, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1302, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1304, allocations: 116.9 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.1304, allocations: 92.86 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1305, allocations: 4.125 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.1305, allocations: 7.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1306, allocations: 3.984 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1306, allocations: 4 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1307, allocations: 132 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1307, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1309, allocations: 27.98 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001795/0.1327, allocations: 0.9307 MB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1329, allocations: 47.98 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1329, allocations: 0 / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.395e-05/0.133, allocations: 27.98 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1333, allocations: 29.47 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1349, allocations: 1.478 MB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1352, allocations: 0.6924 MB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.1353, allocations: 16.53 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.1354, allocations: 35.36 kB / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1354, allocations: 0 / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1597, allocations: 3.029 MB / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.268, allocations: 4.062 kB / 492.6 MB, free: 8.469 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1)