Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, 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.001421/0.001421, 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.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2265/0.2265, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.00215/0.00215, allocations: 91.19 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1151, allocations: 62.45 MB / 480.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003764/0.1189, allocations: 1.728 MB / 481.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1208, allocations: 1.021 MB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1209, allocations: 3.938 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1213, allocations: 47.83 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.1217, allocations: 95.55 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1219, allocations: 79.66 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1221, allocations: 99.7 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1223, allocations: 11.98 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.1224, allocations: 43.78 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.1224, allocations: 35.8 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1225, allocations: 4 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1226, allocations: 47.97 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.1227, allocations: 23.86 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.1227, allocations: 35.75 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.123, allocations: 115.9 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.123, allocations: 4 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.123, allocations: 0 / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.123, allocations: 0 / 483.6 MB, free: 1.672 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.0006056/0.1236, allocations: 426.9 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1237, allocations: 12.03 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1237, allocations: 30.75 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.1238, allocations: 12.75 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1241, allocations: 220 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1241, allocations: 4.375 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1241, allocations: 3.938 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1243, allocations: 53.67 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1243, allocations: 0 / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1243, allocations: 4 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.1243, allocations: 7.938 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.1244, allocations: 15.98 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1248, allocations: 292.8 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.125, allocations: 54.69 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.125, allocations: 24.84 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.125, allocations: 0 / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1253, allocations: 71.39 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 6.242e-06/0.1253, allocations: 0 / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005626/0.1259, allocations: 181 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1259, allocations: 59.41 kB / 485 MB, free: 36 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1262, allocations: 206.2 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1262, allocations: 29.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.1263, allocations: 108.1 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.1264, allocations: 23.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.1264, allocations: 17.72 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1266, allocations: 330.8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.1266, allocations: 19.98 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.1267, allocations: 33.7 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1268, allocations: 61.72 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1269, allocations: 3.984 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.1271, allocations: 101.4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1271, allocations: 8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1271, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1271, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1272, allocations: 19.92 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1272, allocations: 4.031 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.1273, allocations: 15.88 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1273, allocations: 4 kB / 486 MB, free: 15.02 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.0001262/0.1275, allocations: 129.8 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1275, allocations: 7.906 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.1275, allocations: 13.41 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1275, allocations: 4 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.1276, allocations: 3.984 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1276, allocations: 3.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.1281, allocations: 399.2 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1281, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.1281, allocations: 8.188 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1282, allocations: 7.922 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1282, allocations: 7.938 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1282, allocations: 384 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1282, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1285, allocations: 212.5 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.1285, allocations: 88.92 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1286, allocations: 11.94 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.1286, allocations: 7.984 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1287, allocations: 4 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1287, allocations: 4 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1289, allocations: 156.8 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1289, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1292, allocations: 27.98 kB / 487.1 MB, free: 13.83 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.002199/0.1314, allocations: 1.087 MB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1316, allocations: 63.89 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1316, allocations: 0 / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.1317, allocations: 31.92 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.132, allocations: 33.17 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1341, allocations: 1.688 MB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1344, allocations: 0.708 MB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.173e-05/0.1345, allocations: 12.86 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.1346, allocations: 39.42 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1346, allocations: 0 / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.1614, allocations: 3.438 MB / 494.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.583, allocations: 15.72 kB / 494.2 MB, free: 6.82 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)