Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, 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.001285/0.001286, 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.538/1.538, 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.2581/0.2581, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.0022/0.0022, allocations: 79.86 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003748/0.1337, allocations: 1.748 MB / 482 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1359, allocations: 1.021 MB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.136, allocations: 4 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1363, allocations: 91.67 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.1367, allocations: 119.5 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1369, allocations: 83.66 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.1372, allocations: 127.7 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.1373, allocations: 8 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1374, allocations: 59.7 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1376, allocations: 71.8 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1376, allocations: 4 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1377, allocations: 55.98 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.1378, allocations: 27.84 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.1379, allocations: 39.75 kB / 483.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.1382, allocations: 147.7 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1382, allocations: 0 / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1382, allocations: 0 / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1382, allocations: 0 / 483.8 MB, free: 1.516 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.0006297/0.1388, allocations: 442.8 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1389, allocations: 8.031 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.1389, allocations: 38.73 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.139, allocations: 12.84 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1393, allocations: 217.6 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1393, allocations: 8.375 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1394, allocations: 7.938 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1396, allocations: 57.61 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1396, allocations: 0 / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1396, allocations: 4 kB / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1396, allocations: 4 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1397, allocations: 27.97 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.1401, allocations: 304.7 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1404, allocations: 62.5 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.1405, allocations: 20.97 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1405, allocations: 8 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1407, allocations: 67.38 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.1407, allocations: 0 / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008537/0.1416, allocations: 248.9 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1417, allocations: 59.34 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1421, allocations: 242.1 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1421, allocations: 29.7 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1422, allocations: 104.1 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.1423, allocations: 39.55 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.1424, allocations: 29.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002694/0.1427, allocations: 326.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1428, allocations: 31.98 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.1429, allocations: 45.08 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1431, allocations: 85.75 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1431, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003348/0.1434, allocations: 129.4 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1434, allocations: 11.98 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1435, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1435, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.1436, allocations: 27.88 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1436, allocations: 4.734 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.1436, allocations: 3.984 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1437, allocations: 12 kB / 486.5 MB, free: 14.61 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.0001776/0.1438, allocations: 137.8 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.1439, allocations: 11.81 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.1439, allocations: 17.41 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1439, allocations: 3.938 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.144, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.144, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000633/0.1446, allocations: 459.9 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1446, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.1447, allocations: 15.98 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1447, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1447, allocations: 8 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1447, allocations: 3.938 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1447, allocations: 4.062 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.145, allocations: 229 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.1451, allocations: 88.92 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.1451, allocations: 4 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1452, allocations: 8 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.1453, allocations: 15.92 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1453, allocations: 4 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.1456, allocations: 176.4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1456, allocations: 0 / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1459, allocations: 31.98 kB / 487.7 MB, free: 13.29 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.00239/0.1483, allocations: 1.173 MB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1485, allocations: 79.84 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1485, allocations: 0 / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.1486, allocations: 43.92 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.149, allocations: 37.94 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1512, allocations: 1.825 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.1518, allocations: 0.7271 MB / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.1519, allocations: 24.56 kB / 491.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.1519, allocations: 47.42 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.152, allocations: 0 / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1769, allocations: 3.882 MB / 495.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.203, allocations: 3.984 kB / 495.5 MB, free: 5.578 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)