Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001565, 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.001595/0.001595, 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.46/1.46, 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.2236/0.2236, allocations: 46.1 MB / 344.2 MB, free: 11.57 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.002553/0.002553, allocations: 96.2 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1086, allocations: 62.46 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004133/0.1128, allocations: 1.921 MB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1149, allocations: 1.123 MB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1151, allocations: 7.938 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.1156, allocations: 223.4 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.1162, allocations: 215.2 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1165, allocations: 111.6 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1169, allocations: 259.3 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1171, allocations: 29.67 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1173, allocations: 115.5 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1175, allocations: 159.5 kB / 484.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.1175, allocations: 8 kB / 484.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1177, allocations: 63.97 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.1178, allocations: 59.72 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1179, allocations: 91.28 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1182, allocations: 235.5 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1182, allocations: 0 / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1183, allocations: 0 / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1183, allocations: 4 kB / 484.8 MB, free: 0.5156 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007858/0.1191, allocations: 0.5719 MB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1191, allocations: 8.031 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1192, allocations: 42.69 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.1192, allocations: 24.66 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1196, allocations: 288 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1196, allocations: 8.312 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1197, allocations: 11.94 kB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.1199, allocations: 115.3 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1199, allocations: 0 / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.12, allocations: 7.984 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.12, allocations: 4 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1201, allocations: 43.91 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.1207, allocations: 480.8 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.1211, allocations: 121.2 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1212, allocations: 49.83 kB / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1212, allocations: 7.984 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.1215, allocations: 116.9 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1215, allocations: 0 / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001346/0.1229, allocations: 0.5006 MB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.123, allocations: 81.09 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.1234, allocations: 444.5 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.1235, allocations: 33.7 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1236, allocations: 160.5 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.1237, allocations: 67.08 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.1238, allocations: 45.7 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1239, allocations: 346.8 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1241, allocations: 55.97 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1242, allocations: 95.33 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1245, allocations: 159.3 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1245, allocations: 4 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000419/0.125, allocations: 233.2 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.125, allocations: 7.984 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.125, allocations: 4 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.125, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1252, allocations: 47.92 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1252, allocations: 0 / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.1253, allocations: 4 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1253, allocations: 20.05 kB / 489 MB, free: 12.07 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001642/0.1255, allocations: 166.2 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.1255, allocations: 39.47 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.585e-05/0.1256, allocations: 38.81 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1256, allocations: 4 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1256, allocations: 0 / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1256, allocations: 0 / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009391/0.1266, allocations: 0.7388 MB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1266, allocations: 8 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.1267, allocations: 27.98 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1267, allocations: 0 / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1267, allocations: 7.984 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1267, allocations: 8.125 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1268, allocations: 7.875 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.1273, allocations: 420.8 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.1273, allocations: 104.7 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.1274, allocations: 8 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1275, allocations: 7.938 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.1276, allocations: 27.84 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.1277, allocations: 8 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003392/0.128, allocations: 335 kB / 490.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.128, allocations: 0 / 490.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.1284, allocations: 59.98 kB / 490.9 MB, free: 9.961 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002619/0.131, allocations: 1.349 MB / 492.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.1314, allocations: 175.6 kB / 492.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1314, allocations: 0 / 492.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.1316, allocations: 83.84 kB / 492.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.1322, allocations: 75.17 kB / 492.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.1357, allocations: 2.885 MB / 495.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1362, allocations: 0.7777 MB / 496.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.1363, allocations: 37.88 kB / 496.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1364, allocations: 99.39 kB / 496.4 MB, free: 4.484 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1365, allocations: 0 / 496.4 MB, free: 4.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.1662, allocations: 6.328 MB / 0.491 GB, free: 14.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.598, allocations: 6.125 kB / 0.491 GB, free: 14.25 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)