Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, 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.001463/0.001463, 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.428/1.428, 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.2192/0.2192, 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.002163/0.002163, allocations: 88.3 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1138, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003108/0.117, allocations: 1.728 MB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1187, allocations: 1.017 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.1188, allocations: 4 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1191, allocations: 55.75 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.1194, allocations: 95.55 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1196, allocations: 83.66 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1198, allocations: 103.7 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.1199, allocations: 15.98 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.12, allocations: 35.8 kB / 483.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.1201, allocations: 39.73 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1201, allocations: 4 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1202, allocations: 47.97 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.1203, allocations: 27.91 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.654e-05/0.1204, allocations: 43.62 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1206, allocations: 139.8 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1206, allocations: 4 kB / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1206, allocations: 0 / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1206, allocations: 0 / 483.7 MB, free: 1.68 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.0005914/0.1212, allocations: 442.7 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1213, allocations: 8.031 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1213, allocations: 34.73 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1214, allocations: 20.75 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1216, allocations: 217 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1216, allocations: 384 / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1217, allocations: 11.88 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1218, allocations: 57.67 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1218, allocations: 0 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1218, allocations: 0 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1218, allocations: 0 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.1219, allocations: 23.98 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1223, allocations: 296.9 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1225, allocations: 58.62 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.1226, allocations: 24.78 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1226, allocations: 4 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1228, allocations: 63.39 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1228, allocations: 0 / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.1234, allocations: 193 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1235, allocations: 51.41 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.1239, allocations: 274.9 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1239, allocations: 25.7 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.124, allocations: 116.1 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.124, allocations: 23.66 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.1241, allocations: 21.72 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002804/0.1244, allocations: 334.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.1244, allocations: 19.94 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.1245, allocations: 41.64 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1247, allocations: 61.69 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1247, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.1249, allocations: 105.4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1249, allocations: 8.031 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1249, allocations: 4 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1249, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.125, allocations: 12 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1251, allocations: 0 / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.1251, allocations: 15.92 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1251, allocations: 4 kB / 486.2 MB, free: 14.91 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.0001516/0.1253, allocations: 136.2 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.1253, allocations: 15.81 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.1254, allocations: 25.39 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1254, allocations: 7.984 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1254, allocations: 0 / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1254, allocations: 3.938 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.1259, allocations: 407.2 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1259, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.126, allocations: 8.375 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.126, allocations: 3.938 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.126, allocations: 12.03 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.126, allocations: 0 / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.126, allocations: 3.938 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.1264, allocations: 212.4 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.1264, allocations: 85.02 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1265, allocations: 3.938 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1266, allocations: 12 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1267, allocations: 3.984 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1267, allocations: 4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.127, allocations: 204.4 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.127, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.1275, allocations: 27.98 kB / 487.3 MB, free: 13.66 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.00303/0.1305, allocations: 1.098 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.1309, allocations: 63.91 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1309, allocations: 0 / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.131, allocations: 27.98 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.1316, allocations: 32.98 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.1348, allocations: 1.827 MB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.1353, allocations: 0.7235 MB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.1354, allocations: 21.17 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.1355, allocations: 51.34 kB / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1355, allocations: 0 / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.1603, allocations: 3.704 MB / 494.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/8.615, allocations: 19.84 kB / 494.9 MB, free: 6.195 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)