Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, 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.00138/0.00138, 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.456/1.456, 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.239/0.239, allocations: 46.12 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.002235/0.002235, allocations: 89.95 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003547/0.1174, allocations: 1.72 MB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1193, allocations: 1.025 MB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.1194, allocations: 3.938 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1197, allocations: 35.83 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.1201, allocations: 95.53 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1204, allocations: 75.69 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1207, allocations: 107.7 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1208, allocations: 12 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1209, allocations: 39.8 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.121, allocations: 35.78 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1211, allocations: 4 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1212, allocations: 43.98 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1213, allocations: 23.86 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.1213, allocations: 31.8 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1216, allocations: 111.9 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1216, allocations: 11.88 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1216, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1216, allocations: 0 / 483.6 MB, free: 1.75 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.0006912/0.1223, allocations: 411 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.1224, allocations: 12.03 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.1225, allocations: 34.75 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.1225, allocations: 12.75 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1229, allocations: 208 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1229, allocations: 384 / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.1229, allocations: 15.94 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1231, allocations: 53.67 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1231, allocations: 0 / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1232, allocations: 4 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1232, allocations: 4 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.1233, allocations: 15.98 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.1237, allocations: 288.8 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1239, allocations: 58.67 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.124, allocations: 20.86 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.124, allocations: 0 / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.1242, allocations: 67.38 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.1242, allocations: 3.938 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.1248, allocations: 173.2 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.1249, allocations: 55.41 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1252, allocations: 191.2 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1252, allocations: 29.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.1253, allocations: 104 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1253, allocations: 23.66 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.1254, allocations: 25.7 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1255, allocations: 326.8 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.1256, allocations: 19.98 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-05/0.1257, allocations: 33.72 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1258, allocations: 57.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1258, allocations: 3.938 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000193/0.126, allocations: 101.6 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1261, allocations: 12.03 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1261, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1261, allocations: 192 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.1262, allocations: 15.94 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1262, allocations: 7.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1263, allocations: 7.922 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1263, allocations: 4 kB / 485.9 MB, free: 15.15 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.0001216/0.1264, allocations: 121.8 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1264, allocations: 11.81 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.1265, allocations: 25.38 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1265, allocations: 4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1265, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1265, allocations: 3.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.127, allocations: 383.7 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.127, allocations: 4 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.1271, allocations: 15.98 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1271, allocations: 3.938 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1271, allocations: 4.031 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1271, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1271, allocations: 4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1274, allocations: 208.4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1274, allocations: 84.92 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1275, allocations: 11.92 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1276, allocations: 11.94 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1276, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1276, allocations: 7.984 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1278, allocations: 136 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1278, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1281, allocations: 27.98 kB / 487 MB, free: 13.99 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.002268/0.1303, allocations: 1.083 MB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1305, allocations: 71.89 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1306, allocations: 0 / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.1306, allocations: 27.94 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.131, allocations: 32.22 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1329, allocations: 1.633 MB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1333, allocations: 0.7002 MB / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.733e-05/0.1334, allocations: 21.17 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.1334, allocations: 35.42 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1334, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.1625, allocations: 3.329 MB / 493.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.217, allocations: 4.062 kB / 493.9 MB, free: 7.164 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)