Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, 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.002028/0.002028, 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.529/1.529, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.2434/0.2434, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002529/0.002529, allocations: 82.72 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1282, allocations: 62.44 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003405/0.1317, allocations: 1.752 MB / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1335, allocations: 1.021 MB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.1336, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.134, allocations: 111.7 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1343, allocations: 127.5 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1345, allocations: 83.66 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1348, allocations: 131.7 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.1349, allocations: 16 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.135, allocations: 59.7 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1351, allocations: 67.81 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1351, allocations: 4 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1353, allocations: 59.97 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.1353, allocations: 39.78 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.1354, allocations: 39.69 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1356, allocations: 163.7 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1356, allocations: 3.938 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1357, allocations: 0 / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.1357, allocations: 4 kB / 483.9 MB, free: 1.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005473/0.1362, allocations: 450.7 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1363, allocations: 12.03 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.1363, allocations: 34.73 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1364, allocations: 16.75 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1366, allocations: 224.9 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1366, allocations: 384 / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1367, allocations: 11.94 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1368, allocations: 65.66 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1368, allocations: 4 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1369, allocations: 7.984 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1369, allocations: 3.938 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.137, allocations: 31.91 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1374, allocations: 320.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1376, allocations: 78.58 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.1377, allocations: 29.08 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1378, allocations: 3.906 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.138, allocations: 79.28 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.138, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007794/0.1388, allocations: 265 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1388, allocations: 59.34 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1391, allocations: 255.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1391, allocations: 33.7 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.1392, allocations: 108.1 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.1393, allocations: 43.44 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.1393, allocations: 25.72 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1395, allocations: 338.8 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.1395, allocations: 35.98 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/0.1396, allocations: 52.77 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1398, allocations: 93.69 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1398, allocations: 0 / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002479/0.1401, allocations: 141.4 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1401, allocations: 8 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1401, allocations: 0 / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1401, allocations: 7.969 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.1402, allocations: 27.92 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1402, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1403, allocations: 7.938 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1403, allocations: 8.703 kB / 486.7 MB, free: 14.34 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 (14): * Single equations (assignments): 14 * 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.0001172/0.1404, allocations: 133.8 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.1405, allocations: 15.81 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.1405, allocations: 33.33 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1405, allocations: 7.938 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1405, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1405, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.1411, allocations: 475.9 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1411, allocations: 0 / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.1412, allocations: 19.98 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1412, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.1412, allocations: 12.06 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1412, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1412, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1415, allocations: 244.9 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.1416, allocations: 92.92 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1416, allocations: 7.984 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1417, allocations: 12 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1418, allocations: 11.92 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1418, allocations: 4 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.142, allocations: 197.5 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.142, allocations: 0 / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1423, allocations: 35.98 kB / 488 MB, free: 12.95 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 (12): * Single equations (assignments): 10 * 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.002366/0.1446, allocations: 1.182 MB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1449, allocations: 91.84 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1449, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.145, allocations: 51.98 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1454, allocations: 40.38 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1477, allocations: 1.935 MB / 491.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1481, allocations: 0.7279 MB / 492 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.27e-05/0.1482, allocations: 25.06 kB / 492 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.1483, allocations: 47.42 kB / 492.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of SimCode: time 2.604e-06/0.1483, allocations: 192 / 492.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.2005, allocations: 4.125 MB / 496.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.204, allocations: 3.984 kB / 496.2 MB, free: 4.852 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)