Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007643/0.0007643, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008428/0.0008429, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002495, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 63.55 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002298/0.1228, allocations: 1.544 MB / 484.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1246, allocations: 1.075 MB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.1246, allocations: 0 / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.1252, allocations: 295.4 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.1256, allocations: 235.4 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1258, allocations: 91.78 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.1261, allocations: 247.4 kB / 486.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.583e-05/0.1262, allocations: 13.69 kB / 486.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.1264, allocations: 123.4 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1266, allocations: 191.5 kB / 487 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1266, allocations: 4 kB / 487 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1267, allocations: 43.97 kB / 487 MB, free: 224 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1269, allocations: 139.5 kB / 487.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.1271, allocations: 180.4 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.1274, allocations: 350.9 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1274, allocations: 0 / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1275, allocations: 0 / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1275, allocations: 0 / 487.7 MB, free: 15.55 MB / 366.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.0008964/0.1284, allocations: 0.6921 MB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1284, allocations: 12.88 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.1285, allocations: 38.67 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.1286, allocations: 48.38 kB / 488.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.1291, allocations: 443.8 kB / 488.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1291, allocations: 8.375 kB / 488.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1291, allocations: 7.938 kB / 488.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.1293, allocations: 91.3 kB / 489 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1294, allocations: 0 / 489 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1294, allocations: 0 / 489 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1294, allocations: 0 / 489 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1295, allocations: 27.98 kB / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.1299, allocations: 382.3 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1302, allocations: 113.1 kB / 489.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.1303, allocations: 41.7 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1303, allocations: 0 / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.1306, allocations: 117 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1306, allocations: 0 / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004835/0.1311, allocations: 200.9 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1311, allocations: 77.11 kB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1323, allocations: 1.058 MB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1323, allocations: 33.7 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1325, allocations: 236.1 kB / 491.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.1326, allocations: 23.72 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1326, allocations: 21.7 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1328, allocations: 370.7 kB / 491.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.1329, allocations: 27.98 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.133, allocations: 62.92 kB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1332, allocations: 91.34 kB / 491.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1332, allocations: 3.938 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002905/0.1335, allocations: 168.9 kB / 492 MB, free: 10.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1335, allocations: 7.984 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1335, allocations: 4.062 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1336, allocations: 4 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1337, allocations: 16 kB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1337, allocations: 3.984 kB / 492.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.1338, allocations: 19.84 kB / 492.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1338, allocations: 4 kB / 492.1 MB, free: 10.86 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.0002263/0.134, allocations: 233.6 kB / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.1341, allocations: 51.34 kB / 492.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.139e-05/0.1342, allocations: 60.14 kB / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1342, allocations: 4.625 kB / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1342, allocations: 0 / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1342, allocations: 0 / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.1345, allocations: 345.4 kB / 492.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-06/0.1346, allocations: 8 kB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1346, allocations: 7.984 kB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1346, allocations: 0 / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1346, allocations: 8 kB / 492.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1346, allocations: 0 / 492.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1346, allocations: 0 / 492.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.135, allocations: 209.2 kB / 493 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1351, allocations: 144.4 kB / 493.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.1352, allocations: 4 kB / 493.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.1353, allocations: 7.984 kB / 493.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.1353, allocations: 15.92 kB / 493.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1354, allocations: 8 kB / 493.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008046/0.1362, allocations: 0.7839 MB / 493.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 0 / 493.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1364, allocations: 44 kB / 494 MB, free: 8.852 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.00149/0.1379, allocations: 1.047 MB / 495 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.1382, allocations: 83.84 kB / 495.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1382, allocations: 0 / 495.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1383, allocations: 43.91 kB / 495.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.1388, allocations: 62.27 kB / 495.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/0.1446, allocations: 4.754 MB / 500 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.145, allocations: 0.843 MB / 0.4891 GB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1452, allocations: 54.95 kB / 0.4891 GB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.1453, allocations: 155.4 kB / 0.4893 GB, free: 1.777 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1454, allocations: 0 / 0.4893 GB, free: 1.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.1676, allocations: 8.33 MB / 0.4974 GB, free: 9.566 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.1678, allocations: 231.4 kB / 0.4976 GB, free: 9.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.061, allocations: 0 / 0.4976 GB, free: 9.316 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)