Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 103.2 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.002039/0.002039, 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.492/1.492, 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.2677/0.2677, 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.002265/0.002265, allocations: 85.64 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 62.44 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003413/0.1273, allocations: 1.732 MB / 482 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1291, allocations: 1.021 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.1293, allocations: 3.938 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1296, allocations: 35.83 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.13, allocations: 99.53 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1303, allocations: 75.67 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1305, allocations: 107.7 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.1306, allocations: 8 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.1307, allocations: 47.78 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.1308, allocations: 31.78 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1308, allocations: 4 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.131, allocations: 43.98 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.131, allocations: 23.86 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.1311, allocations: 35.8 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1313, allocations: 111.9 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1313, allocations: 0 / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1314, allocations: 0 / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1314, allocations: 0 / 483.6 MB, free: 1.727 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.0006234/0.132, allocations: 415 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.132, allocations: 12.03 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.1321, allocations: 30.75 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.1321, allocations: 12.75 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1324, allocations: 212 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1324, allocations: 384 / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.1325, allocations: 7.938 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1326, allocations: 53.67 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1327, allocations: 4 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1327, allocations: 3.984 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1327, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.1328, allocations: 16 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1332, allocations: 292.8 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1334, allocations: 62.67 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.1334, allocations: 20.84 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1335, allocations: 4 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1337, allocations: 63.39 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1337, allocations: 3.938 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.1343, allocations: 169.3 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1343, allocations: 55.41 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1346, allocations: 191.2 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1346, allocations: 33.64 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1348, allocations: 100 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1348, allocations: 31.58 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1349, allocations: 21.72 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002424/0.1351, allocations: 322.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.1352, allocations: 23.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1354, allocations: 38.08 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1355, allocations: 65.69 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1355, allocations: 3.938 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.1357, allocations: 93.59 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1357, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1358, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1358, allocations: 4.031 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1359, allocations: 19.92 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1359, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.136, allocations: 11.94 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.136, allocations: 4 kB / 485.9 MB, free: 15.12 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.000133/0.1361, allocations: 121.8 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1361, allocations: 11.81 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.1362, allocations: 17.41 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1362, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1362, allocations: 8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.1362, allocations: 7.922 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.1368, allocations: 383.3 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1368, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.1369, allocations: 12 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.1369, allocations: 7.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.1369, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1369, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1369, allocations: 8.016 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1372, allocations: 204.5 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1373, allocations: 88.92 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1373, allocations: 7.938 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.1374, allocations: 0 / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.1374, allocations: 7.984 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1375, allocations: 12 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1376, allocations: 139.9 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1376, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1379, allocations: 24.19 kB / 487 MB, free: 13.96 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.002254/0.1401, allocations: 1.088 MB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1404, allocations: 63.91 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1404, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.1405, allocations: 31.98 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1408, allocations: 34.16 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.143, allocations: 1.624 MB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1434, allocations: 0.7041 MB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.038e-05/0.1435, allocations: 17.17 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.1436, allocations: 39.42 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1436, allocations: 0 / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.1718, allocations: 3.335 MB / 493.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.094, allocations: 0 / 493.9 MB, free: 7.141 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)