Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 105.2 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.001406/0.001406, 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.496/1.496, 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.24/0.24, allocations: 46.12 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.002111/0.002111, allocations: 79.98 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1208, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003976/0.1248, allocations: 1.735 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.1279, allocations: 1.62 MB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.128, allocations: 0 / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1284, allocations: 39.77 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.1288, allocations: 103.5 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.129, allocations: 83.66 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1292, allocations: 107.7 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1293, allocations: 4 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.1294, allocations: 51.78 kB / 484 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1296, allocations: 47.7 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1296, allocations: 4 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1298, allocations: 99.94 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1299, allocations: 27.91 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.1299, allocations: 35.75 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1302, allocations: 163.8 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1302, allocations: 0 / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1302, allocations: 0 / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1303, allocations: 4 kB / 484.3 MB, free: 0.9961 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.0007246/0.131, allocations: 423 kB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.131, allocations: 12.03 kB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.1311, allocations: 34.75 kB / 484.8 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.1312, allocations: 8.844 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1315, allocations: 227.5 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1315, allocations: 0 / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1315, allocations: 4 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1317, allocations: 71.38 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1317, allocations: 0 / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1318, allocations: 4 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1318, allocations: 0 / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.1319, allocations: 19.98 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1323, allocations: 288.8 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1326, allocations: 62.66 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1326, allocations: 16.86 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1326, allocations: 0 / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1329, allocations: 83.31 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1329, allocations: 3.938 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005528/0.1334, allocations: 165.2 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.1335, allocations: 84.98 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1337, allocations: 165.5 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1337, allocations: 33.69 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.1338, allocations: 100.1 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1339, allocations: 31.64 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1339, allocations: 17.72 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.134, allocations: 322.8 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.1341, allocations: 23.98 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.1342, allocations: 42.56 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1343, allocations: 65.62 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1343, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.1345, allocations: 93.58 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1345, allocations: 8 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1345, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1346, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.1347, allocations: 23.86 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1347, allocations: 4 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.1347, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1347, allocations: 12.03 kB / 486.7 MB, free: 14.34 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.0001268/0.1349, allocations: 121.2 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1349, allocations: 15.8 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.135, allocations: 12.72 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.135, allocations: 3.938 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.135, allocations: 0 / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.135, allocations: 0 / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.1355, allocations: 399.5 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1355, allocations: 3.938 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1355, allocations: 11.98 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1355, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1355, allocations: 4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.1356, allocations: 8.016 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1356, allocations: 3.984 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1358, allocations: 200.3 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.1359, allocations: 88.95 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1359, allocations: 8.547 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.136, allocations: 4 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.136, allocations: 7.938 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1361, allocations: 11.98 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1362, allocations: 127.2 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1362, allocations: 0 / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1365, allocations: 43.98 kB / 487.8 MB, free: 13.18 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.002308/0.1388, allocations: 1.178 MB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.139, allocations: 59.91 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.139, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.1391, allocations: 35.92 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1394, allocations: 31.45 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1411, allocations: 1.573 MB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1414, allocations: 0.7051 MB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.541e-05/0.1415, allocations: 25.17 kB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.1416, allocations: 31.42 kB / 491.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1416, allocations: 0 / 491.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.1684, allocations: 3.954 MB / 495.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.554, allocations: 15.64 kB / 495.4 MB, free: 5.711 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)