Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, 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.001371/0.001371, 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.471/1.471, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2351/0.2351, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002239/0.00224, allocations: 85.45 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003616/0.1337, allocations: 1.824 MB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1357, allocations: 1.099 MB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.1358, allocations: 0 / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.1364, allocations: 303.2 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.1369, allocations: 255.2 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1372, allocations: 107.6 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1375, allocations: 255.3 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.1376, allocations: 13.67 kB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1377, allocations: 127.6 kB / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.138, allocations: 195.9 kB / 484.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.138, allocations: 4 kB / 484.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1381, allocations: 47.98 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1383, allocations: 132.5 kB / 484.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1385, allocations: 146.8 kB / 484.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.1389, allocations: 370.9 kB / 485.1 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1389, allocations: 3.938 kB / 485.1 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1389, allocations: 0 / 485.1 MB, free: 288 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1389, allocations: 0 / 485.1 MB, free: 288 kB / 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.00106/0.14, allocations: 0.7191 MB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.14, allocations: 12.03 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.1401, allocations: 38.73 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.1402, allocations: 52.28 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.1407, allocations: 455.7 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1408, allocations: 384 / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1408, allocations: 7.938 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.141, allocations: 83.36 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.141, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.141, allocations: 3.984 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.141, allocations: 4 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1412, allocations: 39.91 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1416, allocations: 370.4 kB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1419, allocations: 105.2 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.142, allocations: 45.69 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.142, allocations: 3.938 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002868/0.1423, allocations: 101.1 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1423, allocations: 0 / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000507/0.1428, allocations: 200.9 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.1429, allocations: 85.09 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.1441, allocations: 1.026 MB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1441, allocations: 25.7 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1443, allocations: 232.1 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.1444, allocations: 31.64 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.1444, allocations: 29.72 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1446, allocations: 378.7 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.1447, allocations: 27.97 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1448, allocations: 51.42 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.145, allocations: 91.86 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1451, allocations: 7.938 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003217/0.1454, allocations: 164.9 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1454, allocations: 8 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1454, allocations: 0 / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1455, allocations: 3.938 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1456, allocations: 31.92 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1456, allocations: 0 / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.1457, allocations: 7.906 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1457, allocations: 12.05 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002389/0.146, allocations: 221.7 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.146, allocations: 43.44 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.757e-05/0.1461, allocations: 60.09 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1461, allocations: 0 / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1462, allocations: 4 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1462, allocations: 3.984 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.1465, allocations: 349.2 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1465, allocations: 0 / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.1466, allocations: 15.92 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1466, allocations: 4 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1466, allocations: 4 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1466, allocations: 0 / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1466, allocations: 4 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.147, allocations: 205.3 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.1472, allocations: 136.5 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1472, allocations: 4 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.1473, allocations: 8 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1474, allocations: 7.984 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1474, allocations: 7.938 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008774/0.1483, allocations: 0.7643 MB / 491.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1483, allocations: 0 / 491.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1486, allocations: 40 kB / 491.3 MB, free: 9.621 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00212/0.1507, allocations: 1.055 MB / 492.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.151, allocations: 87.84 kB / 492.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.151, allocations: 0 / 492.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1511, allocations: 40.11 kB / 492.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1516, allocations: 65.64 kB / 492.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.1576, allocations: 4.585 MB / 497.1 MB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.1581, allocations: 0.8426 MB / 498 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.1583, allocations: 62.94 kB / 498.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.1585, allocations: 151.4 kB / 498.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1585, allocations: 0 / 498.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06739/0.2259, allocations: 8.766 MB / 0.4951 GB, free: 10.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.417, allocations: 11.58 kB / 0.4951 GB, free: 10.03 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)