Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, 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.001267/0.001267, 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.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2544/0.2544, allocations: 46.11 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.002301/0.002302, allocations: 87.34 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1637, allocations: 62.46 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003451/0.1672, allocations: 1.731 MB / 482 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1691, allocations: 1.017 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.1692, allocations: 0 / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1696, allocations: 31.78 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.17, allocations: 99.53 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1702, allocations: 83.67 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1704, allocations: 99.69 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1705, allocations: 8 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.1706, allocations: 43.78 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.1708, allocations: 39.78 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1708, allocations: 4 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1709, allocations: 47.97 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.171, allocations: 11.94 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.171, allocations: 39.73 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1712, allocations: 111.9 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1713, allocations: 0 / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1713, allocations: 0 / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1713, allocations: 0 / 483.6 MB, free: 1.754 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.000598/0.1719, allocations: 407 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1719, allocations: 11.97 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.172, allocations: 38.69 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.172, allocations: 8.844 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1723, allocations: 208.1 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1723, allocations: 4.375 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1724, allocations: 3.938 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1725, allocations: 61.61 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1725, allocations: 0 / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1726, allocations: 0 / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1726, allocations: 0 / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.1726, allocations: 23.98 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.1731, allocations: 292.7 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1733, allocations: 62.61 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1733, allocations: 16.86 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1734, allocations: 0 / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.1736, allocations: 67.39 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1736, allocations: 0 / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005831/0.1742, allocations: 173.2 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1743, allocations: 55.41 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1745, allocations: 174.1 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1745, allocations: 29.7 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.1746, allocations: 96.14 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.1746, allocations: 31.62 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1747, allocations: 21.72 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1749, allocations: 326.8 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.1749, allocations: 23.92 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.175, allocations: 33.7 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1751, allocations: 61.7 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1751, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.1753, allocations: 97.53 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1754, allocations: 8 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1754, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1754, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1755, allocations: 15.98 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1755, allocations: 3.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.1756, allocations: 11.94 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1756, allocations: 4 kB / 485.9 MB, free: 15.18 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.0001183/0.1757, allocations: 130 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1758, allocations: 15.81 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.1758, allocations: 16.66 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1758, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1758, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1758, allocations: 3.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.1764, allocations: 395.3 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1764, allocations: 0 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1764, allocations: 12.03 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1764, allocations: 3.938 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1764, allocations: 4.375 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1765, allocations: 4.234 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1765, allocations: 4 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1767, allocations: 204.2 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1768, allocations: 89 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1769, allocations: 11.94 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.1769, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.177, allocations: 7.984 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.177, allocations: 4 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1771, allocations: 127.2 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1771, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1774, allocations: 28 kB / 486.9 MB, free: 14.04 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.002229/0.1796, allocations: 1.091 MB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1798, allocations: 59.91 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1798, allocations: 0 / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.1799, allocations: 28 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1803, allocations: 26.03 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1823, allocations: 1.603 MB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1826, allocations: 0.7002 MB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.1827, allocations: 16.88 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.1828, allocations: 31.42 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1828, allocations: 3.938 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.2145, allocations: 3.268 MB / 493.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.219, allocations: 4.812 kB / 493.8 MB, free: 7.305 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)