Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 104.1 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.00144/0.001441, 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.532/1.532, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2535/0.2535, 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.002217/0.002218, allocations: 72.19 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1275, allocations: 62.46 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003331/0.1308, allocations: 1.724 MB / 481.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1327, allocations: 1.025 MB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1328, allocations: 4 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.1332, allocations: 55.75 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1336, allocations: 99.53 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.1338, allocations: 75.73 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.134, allocations: 103.6 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1341, allocations: 15.98 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.1342, allocations: 39.8 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.1343, allocations: 39.78 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1343, allocations: 4 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1344, allocations: 43.98 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1345, allocations: 27.92 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.1346, allocations: 47.59 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1348, allocations: 135.8 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1348, allocations: 0 / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1348, allocations: 0 / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1348, allocations: 4 kB / 483.7 MB, free: 1.652 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.0005977/0.1354, allocations: 446.7 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1355, allocations: 12.03 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.1355, allocations: 38.73 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1356, allocations: 20.69 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1359, allocations: 216 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1359, allocations: 4.375 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1359, allocations: 3.938 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1361, allocations: 57.61 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1361, allocations: 0 / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1361, allocations: 4 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1361, allocations: 4 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1362, allocations: 15.98 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1366, allocations: 304.7 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1368, allocations: 66.59 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.1369, allocations: 20.86 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1369, allocations: 7.938 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1372, allocations: 63.39 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1372, allocations: 0 / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005805/0.1377, allocations: 185 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.1378, allocations: 51.41 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1382, allocations: 292.2 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1382, allocations: 33.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.1383, allocations: 112.1 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1384, allocations: 27.64 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.1384, allocations: 21.72 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1386, allocations: 326.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.1387, allocations: 23.98 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.1388, allocations: 37.64 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1389, allocations: 61.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1389, allocations: 0 / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001983/0.1391, allocations: 101.4 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1392, allocations: 8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1392, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1392, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.1393, allocations: 16.36 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1393, allocations: 4 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.1394, allocations: 11.97 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1394, allocations: 11.94 kB / 486.2 MB, free: 14.85 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.0001548/0.1395, allocations: 137.8 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1396, allocations: 19.8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.1396, allocations: 17.41 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1397, allocations: 0 / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1397, allocations: 0 / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1397, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1402, allocations: 411.3 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1402, allocations: 3.984 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.1403, allocations: 8 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1403, allocations: 3.938 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1403, allocations: 4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1403, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1403, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1406, allocations: 220.5 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.1407, allocations: 89 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.1407, allocations: 11.88 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1408, allocations: 4 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1408, allocations: 7.984 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1408, allocations: 0 / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1411, allocations: 216.6 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1411, allocations: 4 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1414, allocations: 31.91 kB / 487.4 MB, free: 13.57 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.002136/0.1435, allocations: 1.096 MB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1437, allocations: 59.91 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1437, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.14e-05/0.1438, allocations: 35.97 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1441, allocations: 30.17 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1464, allocations: 1.844 MB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1468, allocations: 0.7236 MB / 491.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.1468, allocations: 25.17 kB / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.1469, allocations: 47.41 kB / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1469, allocations: 0 / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/0.2065, allocations: 3.759 MB / 495 MB, free: 6.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.114, allocations: 13.59 kB / 495 MB, free: 6.047 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)