Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 104.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, 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.2225/0.2225, allocations: 46.11 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.002179/0.002179, allocations: 82.06 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1406, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003691/0.1443, allocations: 1.723 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1461, allocations: 1.025 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.1462, allocations: 0 / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.1466, allocations: 79.7 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.1469, allocations: 115.5 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1472, allocations: 83.67 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1474, allocations: 115.7 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.1475, allocations: 8 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.1476, allocations: 59.75 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1477, allocations: 55.77 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1477, allocations: 4 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1478, allocations: 43.98 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.1479, allocations: 23.92 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.1479, allocations: 47.66 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1481, allocations: 123.8 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1482, allocations: 3.938 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1482, allocations: 0 / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1482, allocations: 0 / 483.7 MB, free: 1.613 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.0005647/0.1488, allocations: 418.9 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1488, allocations: 12.03 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.1489, allocations: 38.73 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1489, allocations: 12.75 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1492, allocations: 216 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1492, allocations: 8.312 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1492, allocations: 7.938 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1494, allocations: 53.67 kB / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1494, allocations: 3.938 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1494, allocations: 0 / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1494, allocations: 0 / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.1495, allocations: 19.98 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.1499, allocations: 292.9 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1501, allocations: 62.61 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.1502, allocations: 20.84 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1502, allocations: 3.984 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.1505, allocations: 71.39 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1505, allocations: 4 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006601/0.1512, allocations: 177 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.1513, allocations: 59.39 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1515, allocations: 220.2 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1516, allocations: 29.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.1517, allocations: 104.1 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1517, allocations: 27.64 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1518, allocations: 25.72 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1519, allocations: 326.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.152, allocations: 23.92 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1521, allocations: 33.7 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1522, allocations: 65.69 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1522, allocations: 4 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.1524, allocations: 97.44 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1525, allocations: 8 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1525, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1525, allocations: 192 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.1526, allocations: 19.98 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1526, allocations: 7.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.1527, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1527, allocations: 4 kB / 486.1 MB, free: 14.93 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.0001388/0.1528, allocations: 137.8 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.1529, allocations: 7.906 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.1529, allocations: 21.39 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1529, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1529, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.1529, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.1534, allocations: 403.2 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1535, allocations: 8.016 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.1535, allocations: 8 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1535, allocations: 3.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1535, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1535, allocations: 4.375 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1535, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1538, allocations: 196.2 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.1539, allocations: 100.9 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1539, allocations: 7.938 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.154, allocations: 8 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.154, allocations: 7.984 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.154, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.1542, allocations: 165.2 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1542, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1545, allocations: 24 kB / 487.2 MB, free: 13.74 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.002136/0.1566, allocations: 1.103 MB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1568, allocations: 63.91 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1568, allocations: 0 / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.1569, allocations: 24 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1573, allocations: 30.03 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1594, allocations: 1.704 MB / 490.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.1598, allocations: 0.708 MB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.365e-05/0.1598, allocations: 21.17 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.1599, allocations: 39.42 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1599, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.1882, allocations: 3.494 MB / 494.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.122, allocations: 12.02 kB / 494.4 MB, free: 6.652 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)