Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, 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.001493/0.001494, 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.49/1.49, 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.2434/0.2434, allocations: 46.12 MB / 344.2 MB, free: 11.5 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.002277/0.002277, allocations: 82.33 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1157, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003469/0.1192, allocations: 1.724 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1211, allocations: 1.029 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1212, allocations: 0 / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1215, allocations: 39.77 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.1219, allocations: 95.61 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1221, allocations: 75.66 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1223, allocations: 103.7 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1224, allocations: 15.98 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.1225, allocations: 47.72 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.1226, allocations: 27.8 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1226, allocations: 4 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1227, allocations: 51.97 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1228, allocations: 19.92 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.1228, allocations: 31.75 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.123, allocations: 123.9 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.123, allocations: 0 / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.123, allocations: 0 / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.123, allocations: 4 kB / 483.6 MB, free: 1.734 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.0005499/0.1236, allocations: 426.8 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1236, allocations: 8.031 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.1237, allocations: 42.73 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1237, allocations: 12.75 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.124, allocations: 216.1 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.124, allocations: 384 / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.124, allocations: 7.938 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1242, allocations: 57.67 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1242, allocations: 0 / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1242, allocations: 3.938 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1242, allocations: 7.938 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.1243, allocations: 15.98 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1247, allocations: 288.9 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1249, allocations: 58.69 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.1249, allocations: 24.78 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.125, allocations: 0 / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.1252, allocations: 67.39 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1252, allocations: 0 / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005416/0.1257, allocations: 185 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1258, allocations: 55.41 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.126, allocations: 206.3 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.126, allocations: 25.7 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.1261, allocations: 104.1 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1261, allocations: 27.64 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.1262, allocations: 21.72 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1263, allocations: 326.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.1264, allocations: 23.98 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1265, allocations: 33.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1266, allocations: 61.66 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1266, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.1268, allocations: 101.4 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1268, allocations: 8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1268, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1268, allocations: 4.031 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.1269, allocations: 16.36 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1269, allocations: 4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.127, allocations: 11.88 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.127, allocations: 8 kB / 486 MB, free: 15.08 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.0001039/0.1271, allocations: 128.4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1272, allocations: 11.91 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.1272, allocations: 13.41 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1272, allocations: 8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1272, allocations: 3.938 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1272, allocations: 7.922 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.1277, allocations: 391.3 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1277, allocations: 192 / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.1278, allocations: 11.94 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1278, allocations: 11.86 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1278, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1278, allocations: 4.031 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1278, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.128, allocations: 204.5 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.1281, allocations: 88.92 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1281, allocations: 3.938 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1282, allocations: 11.98 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1283, allocations: 15.92 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1283, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1284, allocations: 156.8 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.204e-06/0.1284, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1287, allocations: 27.92 kB / 487.1 MB, free: 13.89 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.00209/0.1308, allocations: 1.079 MB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.131, allocations: 59.89 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.131, allocations: 8.062 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.1311, allocations: 31.92 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1315, allocations: 36.11 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1334, allocations: 1.689 MB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1337, allocations: 0.7044 MB / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.803e-05/0.1338, allocations: 20.55 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.1338, allocations: 39.42 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1338, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.1583, allocations: 3.431 MB / 494.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.161, allocations: 11.42 kB / 494.2 MB, free: 6.887 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)