Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008546/0.0008545, allocations: 95.94 kB / 17 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 45.92 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.000252, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1162, allocations: 63.48 MB / 481.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002077/0.1183, allocations: 1.509 MB / 483.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1208, allocations: 1.605 MB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.866e-05/0.1209, allocations: 4 kB / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1212, allocations: 47.77 kB / 484.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1215, allocations: 103.6 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.1219, allocations: 147.7 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.1222, allocations: 175.4 kB / 485.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.1222, allocations: 13.69 kB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1224, allocations: 79.56 kB / 485.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1226, allocations: 79.61 kB / 485.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1226, allocations: 4 kB / 485.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1228, allocations: 91.88 kB / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1229, allocations: 31.83 kB / 485.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1229, allocations: 49.64 kB / 485.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.1232, allocations: 163.9 kB / 485.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1232, allocations: 0 / 485.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1232, allocations: 0 / 485.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1232, allocations: 0 / 485.7 MB, free: 1.121 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.0006637/0.1239, allocations: 482.5 kB / 486.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1239, allocations: 8.031 kB / 486.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.124, allocations: 30.56 kB / 486.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1241, allocations: 19.81 kB / 486.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.1244, allocations: 258.6 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1244, allocations: 0 / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1244, allocations: 4 kB / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1246, allocations: 105 kB / 486.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1246, allocations: 4 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1247, allocations: 4 kB / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1247, allocations: 0 / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.1248, allocations: 27.97 kB / 486.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.125, allocations: 230.5 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1253, allocations: 109.2 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.1254, allocations: 37.7 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.1254, allocations: 4 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1257, allocations: 109 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1257, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004211/0.1261, allocations: 169.3 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.1262, allocations: 132.5 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1265, allocations: 240.2 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1265, allocations: 29.7 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.1266, allocations: 116.1 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1266, allocations: 27.64 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.1266, allocations: 4 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.1269, allocations: 330.8 kB / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.1269, allocations: 27.98 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.127, allocations: 84.5 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.1271, allocations: 32 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1271, allocations: 0 / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002431/0.1274, allocations: 134 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1274, allocations: 8.094 kB / 488.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1274, allocations: 0 / 488.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1274, allocations: 4 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1276, allocations: 23.92 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1276, allocations: 4 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.615e-05/0.1277, allocations: 15.91 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1277, allocations: 4 kB / 488.5 MB, free: 14.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 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1278, allocations: 142.2 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1278, allocations: 19.81 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.1279, allocations: 24.92 kB / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1279, allocations: 0 / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1279, allocations: 4 kB / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1279, allocations: 0 / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1281, allocations: 229.4 kB / 488.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1281, allocations: 3.984 kB / 488.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1282, allocations: 8 kB / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1282, allocations: 0 / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1282, allocations: 4 kB / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1282, allocations: 0 / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1282, allocations: 4 kB / 488.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.1285, allocations: 173.6 kB / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.1286, allocations: 104.8 kB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.1286, allocations: 4 kB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1287, allocations: 11.98 kB / 489.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1288, allocations: 8 kB / 489.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1288, allocations: 7.984 kB / 489.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.129, allocations: 173.8 kB / 489.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.129, allocations: 0 / 489.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1293, allocations: 59.98 kB / 489.5 MB, free: 13 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/0.1309, allocations: 1.102 MB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1312, allocations: 83.91 kB / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1312, allocations: 0 / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.1313, allocations: 35.97 kB / 490.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1317, allocations: 48.64 kB / 490.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1332, allocations: 0.9451 MB / 491.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1336, allocations: 0.7206 MB / 492.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1337, allocations: 37.45 kB / 492.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1338, allocations: 59.34 kB / 492.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1338, allocations: 0 / 492.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.1496, allocations: 4.75 MB / 497.2 MB, free: 5.418 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.1498, allocations: 239.2 kB / 497.5 MB, free: 5.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.148, allocations: 3.938 kB / 497.5 MB, free: 5.156 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat