Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001891/0.001891, 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.002142/0.002142, 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.443/1.443, 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.2236/0.2236, allocations: 46.1 MB / 344.2 MB, free: 11.61 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.002193/0.002193, allocations: 84.73 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1216, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00309/0.1248, allocations: 1.727 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1265, allocations: 1.021 MB / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.1266, allocations: 4 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.1269, allocations: 55.75 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1272, allocations: 91.59 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1274, allocations: 79.67 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1276, allocations: 115.6 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1277, allocations: 15.98 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.1278, allocations: 43.78 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.1278, allocations: 27.8 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1279, allocations: 4 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.128, allocations: 47.97 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.128, allocations: 27.91 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.1281, allocations: 39.69 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.1283, allocations: 139.8 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1284, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1284, allocations: 4 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1284, allocations: 3.938 kB / 483.6 MB, free: 1.699 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.0006791/0.1291, allocations: 442.7 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1291, allocations: 12.02 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.1292, allocations: 38.75 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1292, allocations: 12.75 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1295, allocations: 213 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1295, allocations: 8.375 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1295, allocations: 7.938 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1297, allocations: 57.61 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1297, allocations: 0 / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1297, allocations: 0 / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1297, allocations: 0 / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.1298, allocations: 19.98 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1302, allocations: 304.9 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1304, allocations: 62.61 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.1305, allocations: 20.8 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1305, allocations: 0 / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.1307, allocations: 67.39 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1308, allocations: 4 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005541/0.1313, allocations: 181 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1314, allocations: 55.41 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1317, allocations: 271 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1317, allocations: 29.69 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.1318, allocations: 116.1 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1318, allocations: 19.66 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1319, allocations: 29.7 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.132, allocations: 330.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.1321, allocations: 20.36 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.1322, allocations: 41.58 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1323, allocations: 53.72 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1323, allocations: 8 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1325, allocations: 113.4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1325, allocations: 8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1325, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1326, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.1327, allocations: 16 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1327, allocations: 3.984 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1327, allocations: 7.938 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1327, 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.0001237/0.1329, allocations: 137.8 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1329, allocations: 19.84 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.133, allocations: 21.39 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.133, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.133, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.133, allocations: 3.938 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.1334, allocations: 407.2 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1335, allocations: 4 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.1335, allocations: 8.016 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1335, allocations: 11.94 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1335, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1335, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1335, allocations: 7.938 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1338, allocations: 204.2 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1338, allocations: 85.02 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1339, allocations: 15.88 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.134, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.134, allocations: 7.984 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.134, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.1342, allocations: 208.4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1342, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1345, allocations: 24 kB / 487.3 MB, free: 13.67 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.002189/0.1367, allocations: 1.095 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1369, allocations: 63.97 kB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1369, allocations: 0 / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.137, allocations: 32.08 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1373, allocations: 33.19 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1394, allocations: 1.827 MB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1398, allocations: 0.7274 MB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.949e-05/0.1398, allocations: 12.83 kB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.1399, allocations: 47.41 kB / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1399, allocations: 0 / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.1654, allocations: 3.706 MB / 494.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.585/8.75, allocations: 19.34 kB / 494.9 MB, free: 6.219 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)