Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007584/0.0007583, allocations: 97.92 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008559/0.000856, allocations: 188.8 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.423/1.423, allocations: 227.3 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.0002661, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1153, allocations: 63.47 MB / 481.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002485/0.1178, allocations: 1.647 MB / 483.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1197, allocations: 1.124 MB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1199, allocations: 3.938 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.1206, allocations: 191.5 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.121, allocations: 167.4 kB / 484.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.1216, allocations: 191.1 kB / 485 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.1219, allocations: 235.3 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.122, allocations: 32.28 kB / 485.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1222, allocations: 95.56 kB / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1223, allocations: 99.53 kB / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1224, allocations: 4 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1225, allocations: 39.97 kB / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.1226, allocations: 47.83 kB / 485.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.1226, allocations: 53.58 kB / 485.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1229, allocations: 195.8 kB / 485.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1229, allocations: 0 / 485.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1229, allocations: 4 kB / 485.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1229, allocations: 0 / 485.7 MB, free: 1.086 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007175/0.1236, allocations: 0.5232 MB / 486.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1237, allocations: 12.03 kB / 486.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.1237, allocations: 34.56 kB / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1238, allocations: 23.72 kB / 486.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1242, allocations: 282.4 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1242, allocations: 8 kB / 486.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1242, allocations: 0 / 486.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.1244, allocations: 104.2 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1245, allocations: 0 / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1245, allocations: 3.938 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1245, allocations: 4 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1246, allocations: 43.91 kB / 486.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.1251, allocations: 381.6 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1254, allocations: 117.2 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.1255, allocations: 41.7 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1255, allocations: 8.062 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.1258, allocations: 121 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.674e-06/0.1258, allocations: 7.938 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004389/0.1262, allocations: 177.3 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.1263, allocations: 114.7 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.1267, allocations: 347.3 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1267, allocations: 29.7 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1269, allocations: 140.1 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.1269, allocations: 39.55 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1269, allocations: 0 / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1271, allocations: 338.8 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.1271, allocations: 31.98 kB / 488.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1273, allocations: 77.62 kB / 488.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.1274, allocations: 36.03 kB / 488.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1274, allocations: 0 / 488.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002564/0.1276, allocations: 153.2 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1277, allocations: 8 kB / 488.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1277, allocations: 0 / 488.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1277, allocations: 0 / 488.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1278, allocations: 23.98 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1278, allocations: 0 / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.128, allocations: 27.8 kB / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.128, allocations: 8 kB / 489 MB, free: 13.57 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001402/0.1281, allocations: 153.7 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1282, allocations: 23.72 kB / 489.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.1282, allocations: 29.83 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1282, allocations: 0 / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1283, allocations: 4 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1283, allocations: 0 / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.1285, allocations: 257.5 kB / 489.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1285, allocations: 4 kB / 489.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1285, allocations: 8 kB / 489.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1286, allocations: 4 kB / 489.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1286, allocations: 3.984 kB / 489.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1286, allocations: 3.938 kB / 489.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1286, allocations: 4 kB / 489.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1289, allocations: 177.8 kB / 489.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.129, allocations: 112.7 kB / 489.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.129, allocations: 4 kB / 489.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.1291, allocations: 11.98 kB / 489.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.1291, allocations: 11.92 kB / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1292, allocations: 8 kB / 489.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.1294, allocations: 253.9 kB / 490 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1294, allocations: 0 / 490 MB, free: 12.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1297, allocations: 43.94 kB / 490.1 MB, free: 12.38 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.00142/0.1311, allocations: 1.035 MB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1314, allocations: 83.91 kB / 491.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1314, allocations: 4.125 kB / 491.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1315, allocations: 47.92 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1319, allocations: 67.97 kB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1338, allocations: 1.29 MB / 492.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1342, allocations: 0.756 MB / 493.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1343, allocations: 29.92 kB / 493.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.1344, allocations: 71.41 kB / 493.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1344, allocations: 0 / 493.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.1514, allocations: 5.183 MB / 498.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.1516, allocations: 219.6 kB / 498.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.12, allocations: 0 / 498.8 MB, free: 3.734 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat