Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, 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.001407/0.001408, 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.507/1.507, 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.2646/0.2646, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002214/0.002214, allocations: 82.19 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1345, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004635/0.1392, allocations: 1.723 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1415, allocations: 1.021 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.1416, allocations: 4 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.142, allocations: 79.7 kB / 483.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.1425, allocations: 115.5 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.1428, allocations: 83.66 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1431, allocations: 107.7 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1432, allocations: 15.98 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1434, allocations: 55.77 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1435, allocations: 59.77 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1436, allocations: 4 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1437, allocations: 43.98 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.1438, allocations: 27.84 kB / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.1439, allocations: 35.73 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1442, allocations: 131.8 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1442, allocations: 0 / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1442, allocations: 0 / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1442, allocations: 0 / 483.7 MB, free: 1.617 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.0007103/0.1449, allocations: 418.9 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.145, allocations: 12.03 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.145, allocations: 34.73 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.1451, allocations: 16.75 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1454, allocations: 215.9 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1455, allocations: 8.375 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1455, allocations: 7.875 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1457, allocations: 53.67 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1457, allocations: 4 kB / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1457, allocations: 0 / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1457, allocations: 3.938 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1458, allocations: 23.98 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.1463, allocations: 280.9 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1466, allocations: 70.59 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.1467, allocations: 16.86 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.1467, allocations: 7.984 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.147, allocations: 67.39 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.147, allocations: 4 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006878/0.1477, allocations: 177.1 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1478, allocations: 55.39 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.1482, allocations: 220.2 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1482, allocations: 33.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.1483, allocations: 104.1 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1484, allocations: 35.56 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.1484, allocations: 21.72 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1486, allocations: 330.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.1487, allocations: 19.98 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.1488, allocations: 33.7 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.149, allocations: 61.77 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.149, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002542/0.1492, allocations: 105.4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1493, allocations: 4 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1493, allocations: 4 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1493, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1494, allocations: 15.98 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1495, allocations: 3.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.1495, allocations: 11.94 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1496, allocations: 4 kB / 486.2 MB, free: 14.93 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.0001412/0.1497, allocations: 125.8 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1497, allocations: 15.94 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.1498, allocations: 17.39 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1498, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1499, allocations: 3.938 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1499, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.1505, allocations: 395.2 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1505, allocations: 3.984 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.1506, allocations: 8.188 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.1506, allocations: 11.97 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1506, allocations: 3.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1507, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1507, allocations: 384 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.151, allocations: 208.2 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.1511, allocations: 92.91 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1511, allocations: 15.94 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1513, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1513, allocations: 7.984 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.1513, allocations: 4 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.1516, allocations: 165.2 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1516, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.1521, allocations: 20 kB / 487.2 MB, free: 13.74 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.002726/0.1548, allocations: 1.094 MB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1551, allocations: 67.91 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1551, allocations: 4 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.1552, allocations: 24 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.1557, allocations: 30.2 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.1584, allocations: 1.704 MB / 490.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.1588, allocations: 0.7119 MB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.601e-05/0.1589, allocations: 13.19 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.159, allocations: 39.42 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.159, allocations: 0 / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.1884, allocations: 3.506 MB / 494.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.346, allocations: 15.22 kB / 494.4 MB, free: 6.645 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)