Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001711/0.001712, 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.001531/0.001531, 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.472/1.472, 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.2251/0.2251, allocations: 46.11 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.002844/0.002844, allocations: 87.47 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.12, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003378/0.1234, allocations: 1.927 MB / 482.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1253, allocations: 1.123 MB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.1254, allocations: 0 / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1259, allocations: 259.3 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.1263, allocations: 231.2 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1266, allocations: 115.6 kB / 483.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.127, allocations: 275.3 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1271, allocations: 21.69 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1273, allocations: 135.5 kB / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.1275, allocations: 187.4 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1275, allocations: 12 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1277, allocations: 59.98 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.1278, allocations: 67.75 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1279, allocations: 99.17 kB / 484.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1282, allocations: 247.4 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1282, allocations: 3.938 kB / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1282, allocations: 0 / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1282, allocations: 0 / 484.9 MB, free: 416 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008244/0.1291, allocations: 0.5835 MB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1291, allocations: 12.03 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.1292, allocations: 42.73 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.1292, allocations: 32.56 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.1297, allocations: 298.4 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1297, allocations: 384 / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1297, allocations: 15.94 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.13, allocations: 109.9 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.13, allocations: 3.906 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.13, allocations: 8 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.13, allocations: 7.938 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1302, allocations: 43.95 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.1308, allocations: 484.6 kB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.1312, allocations: 121.2 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1313, allocations: 41.83 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1313, allocations: 12.08 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.1316, allocations: 120.4 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1317, allocations: 0 / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001304/0.133, allocations: 0.5043 MB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.133, allocations: 93.03 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.1335, allocations: 493.7 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.1336, allocations: 37.69 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1337, allocations: 164.5 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.1338, allocations: 75 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.1339, allocations: 37.72 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.134, allocations: 350.8 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1342, allocations: 55.97 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1343, allocations: 91.41 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.1346, allocations: 163.4 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1346, allocations: 0 / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000401/0.135, allocations: 237 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.135, allocations: 4 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1351, allocations: 15.98 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1351, allocations: 0 / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1352, allocations: 39.98 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1352, allocations: 0 / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.1353, allocations: 8 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1354, allocations: 15.98 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001787/0.1355, allocations: 170.2 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.1356, allocations: 39.5 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.1357, allocations: 50.89 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1357, allocations: 0 / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1357, allocations: 4 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1357, allocations: 3.984 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.1367, allocations: 0.7389 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1367, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.789e-05/0.1368, allocations: 35.92 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1368, allocations: 4 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1368, allocations: 7.984 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.1368, allocations: 4 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1368, allocations: 3.938 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.1373, allocations: 429.1 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.1374, allocations: 104.7 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.1374, allocations: 7.984 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1376, allocations: 11.94 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.1377, allocations: 27.92 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.1377, allocations: 11.98 kB / 490.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003884/0.1381, allocations: 371.1 kB / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1381, allocations: 0 / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.1385, allocations: 55.98 kB / 491.2 MB, free: 9.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003099/0.1416, allocations: 1.355 MB / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.1422, allocations: 175.6 kB / 492.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1422, allocations: 0 / 492.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.1425, allocations: 83.84 kB / 492.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/0.1434, allocations: 62.75 kB / 492.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.1491, allocations: 3.014 MB / 495.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1496, allocations: 0.7908 MB / 496.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1497, allocations: 37.91 kB / 496.8 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1499, allocations: 107.4 kB / 496.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1499, allocations: 0 / 496.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.1786, allocations: 6.546 MB / 0.4916 GB, free: 13.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.307, allocations: 6.531 kB / 0.4916 GB, free: 13.61 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)