Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2332/0.2332, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002664/0.002665, allocations: 86.98 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1266, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00372/0.1304, allocations: 1.919 MB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1323, allocations: 1.13 MB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1325, allocations: 3.938 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.1331, allocations: 219.4 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.1336, allocations: 219.2 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.1339, allocations: 111.6 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.1343, allocations: 255.3 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1344, allocations: 29.66 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.1346, allocations: 115.5 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.1348, allocations: 159.5 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1349, allocations: 12 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.135, allocations: 67.97 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.1351, allocations: 55.72 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1353, allocations: 91.34 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1356, allocations: 231.4 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1356, allocations: 3.938 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1356, allocations: 0 / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1356, allocations: 0 / 484.8 MB, free: 0.5039 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.0008779/0.1365, allocations: 0.5758 MB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1366, allocations: 12.03 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.1366, allocations: 38.75 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.1367, allocations: 24.66 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1371, allocations: 292 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1371, allocations: 4.375 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.1371, allocations: 15.92 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1374, allocations: 118.2 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1374, allocations: 0 / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1374, allocations: 8 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1374, allocations: 4 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1376, allocations: 47.97 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.1382, allocations: 472.7 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.1386, allocations: 125.2 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1387, allocations: 45.81 kB / 486.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1388, allocations: 4.141 kB / 486.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.1391, allocations: 121 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.446e-06/0.1391, allocations: 0 / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001391/0.1405, allocations: 0.5005 MB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1406, allocations: 77.11 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.141, allocations: 452.5 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1411, allocations: 33.7 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1412, allocations: 156.5 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.1413, allocations: 67.09 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.1414, allocations: 41.7 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1415, allocations: 350.8 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1417, allocations: 51.98 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1418, allocations: 91.39 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.1421, allocations: 163.5 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1421, allocations: 0 / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004371/0.1426, allocations: 237 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1426, allocations: 8 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1426, allocations: 4.062 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1426, allocations: 0 / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1428, allocations: 47.92 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1428, allocations: 4 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.1429, allocations: 11.98 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1429, allocations: 4 kB / 489 MB, free: 12.06 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.000181/0.1431, allocations: 166.2 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.1432, allocations: 47.41 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.1433, allocations: 46.81 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1433, allocations: 4 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1433, allocations: 0 / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1433, allocations: 3.984 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.1444, allocations: 0.7272 MB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.1444, allocations: 4 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-05/0.1445, allocations: 31.92 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1445, allocations: 0 / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1445, allocations: 15.97 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1445, allocations: 4 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1445, allocations: 3.938 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.145, allocations: 421.8 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.1451, allocations: 100.7 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.1452, allocations: 8 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.1455, allocations: 11.98 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.1455, allocations: 27.86 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.1456, allocations: 15.94 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003553/0.1459, allocations: 331 kB / 490.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1459, allocations: 0 / 490.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.1463, allocations: 51.98 kB / 490.9 MB, free: 9.945 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.002639/0.149, allocations: 1.35 MB / 492.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.1494, allocations: 171.7 kB / 492.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1494, allocations: 3.938 kB / 492.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1496, allocations: 83.84 kB / 492.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.1502, allocations: 74.17 kB / 492.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.1541, allocations: 2.893 MB / 495.5 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.1545, allocations: 0.7792 MB / 496.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.1547, allocations: 37.92 kB / 496.3 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.1549, allocations: 95.41 kB / 496.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1549, allocations: 0 / 496.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.184, allocations: 6.323 MB / 0.491 GB, free: 14.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.433, allocations: 7.719 kB / 0.491 GB, free: 14.23 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)