Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2375/0.2375, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002274/0.002275, allocations: 81.16 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1237, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003187/0.1269, allocations: 1.755 MB / 482 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1287, allocations: 1.02 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.1288, allocations: 4 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1292, allocations: 107.7 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.1295, allocations: 127.5 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1297, allocations: 83.66 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1299, allocations: 119.7 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1301, allocations: 19.98 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.473e-05/0.1302, allocations: 51.78 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1303, allocations: 63.75 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1303, allocations: 4 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1304, allocations: 71.89 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.1305, allocations: 31.86 kB / 483.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1306, allocations: 35.69 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1308, allocations: 151.8 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1308, allocations: 3.938 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1308, allocations: 0 / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1309, allocations: 4 kB / 483.9 MB, free: 1.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006032/0.1315, allocations: 442.8 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1315, allocations: 12.02 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.1316, allocations: 34.75 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.1316, allocations: 16.75 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1319, allocations: 215.9 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1319, allocations: 12.31 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1319, allocations: 7.938 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1321, allocations: 61.66 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1321, allocations: 0 / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1321, allocations: 7.984 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1321, allocations: 0 / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.1322, allocations: 23.98 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1326, allocations: 308.7 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1329, allocations: 62.55 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.133, allocations: 24.97 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.133, allocations: 3.984 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.1332, allocations: 75.39 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1332, allocations: 0 / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007753/0.134, allocations: 232.9 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1341, allocations: 71.33 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1343, allocations: 243.2 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1344, allocations: 29.7 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.1344, allocations: 112.1 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.1345, allocations: 31.55 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.1346, allocations: 29.7 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1347, allocations: 330.8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1348, allocations: 31.98 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.1349, allocations: 49.64 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1351, allocations: 85.69 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1351, allocations: 0 / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002234/0.1353, allocations: 125.4 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1353, allocations: 4 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1354, allocations: 32 / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1354, allocations: 8 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.1355, allocations: 31.92 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1355, allocations: 0 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.1355, allocations: 4 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1355, allocations: 4 kB / 486.5 MB, free: 14.55 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 (13): * Single equations (assignments): 13 * 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.0001259/0.1357, allocations: 129.8 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1357, allocations: 23.69 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.1358, allocations: 29.33 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.1358, allocations: 11.94 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1358, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1358, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.1364, allocations: 456 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1364, allocations: 0 / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.1364, allocations: 15.94 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1364, allocations: 4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1365, allocations: 8.047 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1365, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1365, allocations: 4 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1368, allocations: 232.9 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.1369, allocations: 88.92 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.1369, allocations: 11.98 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.137, allocations: 4 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.137, allocations: 15.92 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1371, allocations: 4 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.1372, allocations: 187 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1372, allocations: 0 / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1375, allocations: 32 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002425/0.14, allocations: 1.184 MB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1402, allocations: 79.91 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1402, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.1403, allocations: 43.98 kB / 489.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1407, allocations: 34.38 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.143, allocations: 1.867 MB / 491 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.1434, allocations: 0.7272 MB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.1435, allocations: 20.62 kB / 491.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.1436, allocations: 43.42 kB / 491.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1436, allocations: 0 / 491.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.1714, allocations: 3.962 MB / 495.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.198, allocations: 3.984 kB / 495.7 MB, free: 5.367 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)