Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001224, 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.001334/0.001334, 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.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2383/0.2383, allocations: 46.13 MB / 344.2 MB, free: 11.59 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.002275/0.002275, allocations: 84.64 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 62.46 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003556/0.1338, allocations: 1.824 MB / 482.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1358, allocations: 1.095 MB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.1359, allocations: 0 / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.1365, allocations: 315.3 kB / 483.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.137, allocations: 255.2 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1373, allocations: 107.6 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1376, allocations: 255.4 kB / 484.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.335e-05/0.1377, allocations: 9.688 kB / 484.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1379, allocations: 135.5 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.1382, allocations: 199.5 kB / 484.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1382, allocations: 8 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1383, allocations: 39.98 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1385, allocations: 135.5 kB / 484.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.1387, allocations: 154.8 kB / 484.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.1391, allocations: 367 kB / 485.1 MB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1391, allocations: 11.92 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1391, allocations: 0 / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1391, allocations: 0 / 485.1 MB, free: 268 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001089/0.1402, allocations: 0.7462 MB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1403, allocations: 8.031 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.1403, allocations: 34.75 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.1404, allocations: 52.28 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.141, allocations: 447.8 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.141, allocations: 8.375 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1411, allocations: 7.922 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1413, allocations: 91.3 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1413, allocations: 4 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1413, allocations: 0 / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1413, allocations: 0 / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1415, allocations: 31.97 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.1419, allocations: 374.4 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1422, allocations: 113.1 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1423, allocations: 41.69 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1424, allocations: 7.984 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.1427, allocations: 105 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1427, allocations: 0 / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004791/0.1432, allocations: 196.9 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1432, allocations: 85.09 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.1444, allocations: 1.054 MB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1444, allocations: 29.7 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.1446, allocations: 236.1 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.1447, allocations: 35.61 kB / 488.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.1448, allocations: 25.66 kB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.145, allocations: 374.8 kB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.1451, allocations: 23.98 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.1452, allocations: 55.42 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.1454, allocations: 95.84 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1454, allocations: 3.938 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003439/0.1457, allocations: 172.9 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1458, allocations: 4 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1458, allocations: 0 / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1458, allocations: 7.938 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1459, allocations: 24.05 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1459, allocations: 4 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.146, allocations: 15.92 kB / 489.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1461, allocations: 4 kB / 489.6 MB, free: 11.5 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002421/0.1463, allocations: 221.7 kB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.1464, allocations: 55.33 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.1465, allocations: 60.14 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1465, allocations: 4 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1465, allocations: 4 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1465, allocations: 0 / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.1469, allocations: 345.4 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1469, allocations: 0 / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.1469, allocations: 8 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1469, allocations: 0 / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.147, allocations: 11.98 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.147, allocations: 0 / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.147, allocations: 0 / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1473, allocations: 205.2 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1475, allocations: 144.4 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1475, allocations: 0 / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.1476, allocations: 11.98 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1477, allocations: 11.92 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1477, allocations: 4 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008717/0.1486, allocations: 0.7839 MB / 491.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1486, allocations: 8 kB / 491.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1489, allocations: 44 kB / 491.5 MB, free: 9.5 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002067/0.1509, allocations: 1.051 MB / 492.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1512, allocations: 83.91 kB / 492.6 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1512, allocations: 0 / 492.6 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1513, allocations: 43.91 kB / 492.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.1518, allocations: 69.7 kB / 492.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.1576, allocations: 4.686 MB / 497.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.1582, allocations: 0.8505 MB / 498.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.1583, allocations: 54.94 kB / 498.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.1586, allocations: 151.4 kB / 498.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of SimCode: time 2.726e-06/0.1586, allocations: 0 / 498.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.1953, allocations: 8.933 MB / 0.4955 GB, free: 9.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.325, allocations: 11.64 kB / 0.4955 GB, free: 9.633 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)