Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002226/0.002226, allocations: 105.8 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.002732/0.002732, 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.538/1.538, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2287/0.2287, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002325/0.002325, allocations: 86.38 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1201, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003433/0.1235, allocations: 1.728 MB / 481.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1253, allocations: 1.017 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.1254, allocations: 0 / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1257, allocations: 47.75 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.126, allocations: 99.53 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1263, allocations: 75.67 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1265, allocations: 103.7 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.1266, allocations: 12 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.367e-05/0.1267, allocations: 39.8 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.1268, allocations: 35.78 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1268, allocations: 4 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1269, allocations: 43.98 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.127, allocations: 23.91 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.1271, allocations: 35.73 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1273, allocations: 119.8 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1273, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1273, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1273, allocations: 0 / 483.6 MB, free: 1.715 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.0005834/0.1279, allocations: 418.9 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1279, allocations: 8.031 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.128, allocations: 34.75 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.128, allocations: 12.84 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1283, allocations: 204.8 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1283, allocations: 8.312 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1283, allocations: 7.938 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1285, allocations: 57.61 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1285, allocations: 11.91 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1285, allocations: 4 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1285, allocations: 0 / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.1286, allocations: 19.98 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.129, allocations: 284.9 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1292, allocations: 58.62 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.1293, allocations: 28.78 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1293, allocations: 0 / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1295, allocations: 67.39 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1295, allocations: 0 / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005277/0.13, allocations: 173.2 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1301, allocations: 51.41 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1303, allocations: 210.2 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1303, allocations: 25.7 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1304, allocations: 100.1 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1305, allocations: 19.72 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1305, allocations: 29.7 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1307, allocations: 322.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.1307, allocations: 20 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.1308, allocations: 41.64 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1309, allocations: 61.69 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.131, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.1312, allocations: 105.4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1312, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1312, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1312, allocations: 3.984 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.1313, allocations: 16.03 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1313, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1314, allocations: 11.92 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1314, allocations: 4 kB / 486 MB, free: 15.09 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.0001042/0.1315, allocations: 125.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1315, allocations: 7.906 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.1316, allocations: 21.39 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1316, allocations: 3.938 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1316, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1316, allocations: 7.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.1321, allocations: 399.6 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1321, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.1322, allocations: 12 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1322, allocations: 3.938 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1322, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1322, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1322, allocations: 192 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1324, allocations: 208.5 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.1325, allocations: 96.84 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1325, allocations: 7.938 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.1326, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1327, allocations: 7.984 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1327, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1328, allocations: 152.2 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1331, allocations: 20 kB / 487 MB, free: 13.92 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.002126/0.1352, allocations: 1.093 MB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1354, allocations: 67.91 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1354, allocations: 0 / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.1355, allocations: 32.05 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1359, allocations: 29.98 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1378, allocations: 1.644 MB / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1381, allocations: 0.7041 MB / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.1382, allocations: 21.17 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.1383, allocations: 35.42 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1383, allocations: 4 kB / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1636, allocations: 3.393 MB / 494.1 MB, free: 7.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.166, allocations: 3.938 kB / 494.1 MB, free: 7.004 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)