Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, 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.001338/0.001338, 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.447/1.447, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2316/0.2316, 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.002127/0.002127, allocations: 89.41 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.111, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003167/0.1142, allocations: 1.826 MB / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1167, allocations: 1.702 MB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.1168, allocations: 0 / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1171, allocations: 55.61 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.1174, allocations: 131.4 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1177, allocations: 107.6 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1179, allocations: 203.4 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.118, allocations: 9.688 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1181, allocations: 91.56 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1184, allocations: 79.61 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.1184, allocations: 12 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.1186, allocations: 111.9 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.1187, allocations: 31.86 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.519e-05/0.1188, allocations: 71.52 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1191, allocations: 219.6 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1191, allocations: 12 kB / 484.9 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1191, allocations: 0 / 484.9 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1191, allocations: 0 / 484.9 MB, free: 464 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007262/0.1199, allocations: 486.6 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1199, allocations: 8.031 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.12, allocations: 42.69 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.12, allocations: 20.66 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.1203, allocations: 256.9 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1203, allocations: 4.375 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1204, allocations: 7.938 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1206, allocations: 101 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1206, allocations: 0 / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1206, allocations: 0 / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1206, allocations: 3.938 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1207, allocations: 31.97 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.121, allocations: 230.4 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1212, allocations: 105.1 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.1213, allocations: 41.7 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1214, allocations: 4 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.1217, allocations: 109 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1217, allocations: 0 / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004394/0.1222, allocations: 165.8 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.1223, allocations: 136.5 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.1225, allocations: 236.2 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1226, allocations: 29.7 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1226, allocations: 116.1 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.1227, allocations: 31.64 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.1227, allocations: 29.7 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1229, allocations: 326.8 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.123, allocations: 40.03 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1232, allocations: 69.14 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1234, allocations: 91.39 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1234, allocations: 7.875 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002698/0.1237, allocations: 141.2 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1237, allocations: 10.66 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1237, allocations: 0 / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1237, allocations: 0 / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1238, allocations: 23.98 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1238, allocations: 0 / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.1239, allocations: 8 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1239, allocations: 8.062 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001203/0.1241, allocations: 137.7 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.1241, allocations: 19.72 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.1242, allocations: 20.98 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1242, allocations: 0 / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1242, allocations: 4 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1242, allocations: 0 / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1244, allocations: 225.6 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1244, allocations: 7.984 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.1244, allocations: 15.94 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1245, allocations: 0 / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1245, allocations: 4 kB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1245, allocations: 0 / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1245, allocations: 0 / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1248, allocations: 177.6 kB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.1249, allocations: 92.92 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1249, allocations: 4 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.125, allocations: 7.984 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.125, allocations: 7.938 kB / 488.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1251, allocations: 11.98 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1252, allocations: 177.6 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1252, allocations: 0 / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1255, allocations: 55.98 kB / 488.7 MB, free: 12.23 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002105/0.1276, allocations: 1.102 MB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1279, allocations: 83.89 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1279, allocations: 0 / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.128, allocations: 43.92 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1284, allocations: 66.36 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.1307, allocations: 1.876 MB / 491.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1311, allocations: 0.7125 MB / 492.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1312, allocations: 33.52 kB / 492.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1313, allocations: 59.41 kB / 492.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1314, allocations: 4 kB / 492.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.1637, allocations: 5.209 MB / 497.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.856/9.019, allocations: 7.422 kB / 497.9 MB, free: 3.141 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)