Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008311/0.0008312, allocations: 96.98 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009026/0.0009028, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.3 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 45.92 MB / 344.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 12 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 63.47 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002028/0.1237, allocations: 1.517 MB / 483.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.126, allocations: 1.597 MB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.1261, allocations: 0 / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1264, allocations: 55.75 kB / 484.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1267, allocations: 107.6 kB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1271, allocations: 147.3 kB / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1274, allocations: 179.4 kB / 485.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.1275, allocations: 13.69 kB / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1276, allocations: 75.58 kB / 485.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1278, allocations: 75.66 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1278, allocations: 8 kB / 485.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.128, allocations: 91.88 kB / 485.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.1281, allocations: 23.86 kB / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.1282, allocations: 53.62 kB / 485.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1284, allocations: 167.9 kB / 485.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1284, allocations: 4 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1284, allocations: 0 / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1285, allocations: 0 / 485.7 MB, free: 1.125 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.0006722/0.1291, allocations: 478.5 kB / 486.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1292, allocations: 8.031 kB / 486.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.1292, allocations: 30.56 kB / 486.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1293, allocations: 15.81 kB / 486.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.1296, allocations: 258.6 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1296, allocations: 4 kB / 486.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1296, allocations: 4 kB / 486.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.1299, allocations: 97.02 kB / 486.6 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1299, allocations: 4 kB / 486.6 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.13, allocations: 4 kB / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.13, allocations: 0 / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1301, allocations: 27.97 kB / 486.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1303, allocations: 230.5 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1306, allocations: 105.2 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1307, allocations: 41.7 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1307, allocations: 11.88 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.131, allocations: 105 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1311, allocations: 0 / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004239/0.1315, allocations: 177.3 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.1316, allocations: 132.5 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.1318, allocations: 236.2 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1319, allocations: 29.7 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.132, allocations: 116.1 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.132, allocations: 27.64 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.132, allocations: 4 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1321, allocations: 334.8 kB / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.1322, allocations: 27.98 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1324, allocations: 77.06 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.1325, allocations: 28 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1325, allocations: 0 / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002583/0.1327, allocations: 141.4 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1328, allocations: 4 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1328, allocations: 0 / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1328, allocations: 4 kB / 488.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1329, allocations: 23.92 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1329, allocations: 4 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.133, allocations: 7.906 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.133, allocations: 8 kB / 488.5 MB, free: 14.07 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.0001291/0.1332, allocations: 146.3 kB / 488.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1332, allocations: 15.81 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.1333, allocations: 24.97 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1333, allocations: 0 / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1333, allocations: 4 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1333, allocations: 3.938 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1335, allocations: 226.1 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1335, allocations: 0 / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.1335, allocations: 11.98 kB / 488.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1336, allocations: 4 kB / 488.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1336, allocations: 8 kB / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1336, allocations: 0 / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1336, allocations: 0 / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.134, allocations: 177.5 kB / 489.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.1341, allocations: 104.9 kB / 489.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.1341, allocations: 4 kB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.1342, allocations: 12 kB / 489.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1342, allocations: 7.984 kB / 489.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1343, allocations: 4 kB / 489.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.1346, allocations: 177.8 kB / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1349, allocations: 52 kB / 489.5 MB, free: 13.02 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.001909/0.1368, allocations: 1.1 MB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1371, allocations: 83.84 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1371, allocations: 0 / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.842e-05/0.1372, allocations: 31.98 kB / 490.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1376, allocations: 60.73 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1392, allocations: 0.9388 MB / 491.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1396, allocations: 0.7244 MB / 492.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1397, allocations: 33.53 kB / 492.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1398, allocations: 59.39 kB / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1398, allocations: 0 / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1594, allocations: 4.748 MB / 497.2 MB, free: 5.43 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.1597, allocations: 238.2 kB / 497.5 MB, free: 5.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.15, allocations: 0 / 497.5 MB, free: 5.176 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat