Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_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.001269/0.001269, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.09 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.92 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1129, allocations: 62.45 MB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003481/0.1164, allocations: 1.879 MB / 481.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1183, allocations: 1.08 MB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1185, allocations: 4 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.119, allocations: 307.4 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.1196, allocations: 243.4 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1198, allocations: 83.84 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.1202, allocations: 263.3 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.1203, allocations: 13.67 kB / 483.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.1205, allocations: 131.5 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.1209, allocations: 207.4 kB / 483.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.121, allocations: 8 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1212, allocations: 43.98 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1214, allocations: 143.6 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1216, allocations: 146.8 kB / 484.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.1221, allocations: 374.9 kB / 484.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1221, allocations: 0 / 484.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1221, allocations: 0 / 484.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1222, allocations: 0 / 484.5 MB, free: 0.5586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001266/0.1234, allocations: 0.7384 MB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1235, allocations: 8.031 kB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1235, allocations: 42.73 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.1236, allocations: 48.28 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.1242, allocations: 463.8 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1243, allocations: 4.375 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1243, allocations: 7.938 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1245, allocations: 83.36 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1245, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1245, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1246, allocations: 4 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1247, allocations: 31.92 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.1252, allocations: 382.3 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.1256, allocations: 109.2 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1257, allocations: 41.64 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1258, allocations: 4 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.1261, allocations: 105.1 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.1261, allocations: 4 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006556/0.1268, allocations: 197.4 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.1269, allocations: 81.11 kB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.1282, allocations: 1.058 MB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1282, allocations: 25.7 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1284, allocations: 240.1 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.1285, allocations: 23.62 kB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.1285, allocations: 33.64 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1287, allocations: 374.7 kB / 488.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.1289, allocations: 32.05 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.129, allocations: 55.41 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1292, allocations: 91.36 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1292, allocations: 3.938 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004152/0.1296, allocations: 168.9 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1296, allocations: 6.812 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1296, allocations: 0 / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1297, allocations: 4 kB / 488.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1298, allocations: 23.92 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1298, allocations: 4 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.13, allocations: 16 kB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.13, allocations: 4 kB / 489 MB, free: 11.8 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.0002475/0.1302, allocations: 225.7 kB / 489.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/0.1303, allocations: 51.34 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.265e-05/0.1304, allocations: 56.14 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1304, allocations: 4 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1304, allocations: 0 / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1304, allocations: 3.984 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.1308, allocations: 349.5 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1308, allocations: 12 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.1309, allocations: 7.938 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1309, allocations: 0 / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1309, allocations: 7.938 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1309, allocations: 0 / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.1309, allocations: 7.969 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.1313, allocations: 205.2 kB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.1314, allocations: 140.4 kB / 490 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.1315, allocations: 4 kB / 490 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.1316, allocations: 7.984 kB / 490 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.1316, allocations: 4 kB / 490 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1317, allocations: 11.98 kB / 490 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008489/0.1325, allocations: 0.7839 MB / 490.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1325, allocations: 0 / 490.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1328, allocations: 44 kB / 490.9 MB, free: 9.801 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.001613/0.1344, allocations: 1.053 MB / 491.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1348, allocations: 87.84 kB / 492 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1348, allocations: 4.125 kB / 492 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1349, allocations: 31.98 kB / 492 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.1354, allocations: 73.19 kB / 492.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.1424, allocations: 4.751 MB / 496.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.1429, allocations: 0.8427 MB / 497.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.1431, allocations: 59.45 kB / 497.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.1433, allocations: 151.4 kB / 497.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1433, allocations: 0 / 497.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1666, allocations: 8.795 MB / 0.4948 GB, free: 10.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.1669, allocations: 240 kB / 0.495 GB, free: 9.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.265, allocations: 0 / 0.495 GB, free: 9.777 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)