Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000893/0.0008933, allocations: 98.47 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.0009318/0.0009317, allocations: 192.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.547/1.547, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 45.92 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 12 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 63.47 MB / 481.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002035/0.1241, allocations: 1.392 MB / 483 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1257, allocations: 0.9285 MB / 484 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.1258, allocations: 4 kB / 484 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.1262, allocations: 47.81 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.1265, allocations: 79.73 kB / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.1269, allocations: 95.77 kB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1271, allocations: 87.69 kB / 484.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.1271, allocations: 4.234 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.1272, allocations: 39.78 kB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.1273, allocations: 39.78 kB / 484.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1273, allocations: 4 kB / 484.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.1274, allocations: 23.98 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.1275, allocations: 27.84 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.1275, allocations: 41.64 kB / 484.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1277, allocations: 72.12 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1277, allocations: 3.984 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1277, allocations: 0 / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1277, allocations: 0 / 484.5 MB, free: 2.379 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005407/0.1283, allocations: 387 kB / 484.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1283, allocations: 8.031 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1284, allocations: 30.56 kB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.1284, allocations: 11.81 kB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1287, allocations: 218.8 kB / 485.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1287, allocations: 0 / 485.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1287, allocations: 4 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1289, allocations: 49.61 kB / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1289, allocations: 0 / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1289, allocations: 0 / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1289, allocations: 4 kB / 485.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.129, allocations: 15.98 kB / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.1292, allocations: 181.6 kB / 485.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1293, allocations: 54.62 kB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.1294, allocations: 20.84 kB / 485.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1294, allocations: 0 / 485.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1296, allocations: 63.33 kB / 485.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.1296, allocations: 4 kB / 485.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002698/0.1299, allocations: 93.58 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.13, allocations: 55.41 kB / 485.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1301, allocations: 176.8 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1302, allocations: 25.7 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.1302, allocations: 108.1 kB / 486 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1303, allocations: 11.81 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.1303, allocations: 0 / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1304, allocations: 334.8 kB / 486.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.1304, allocations: 12 kB / 486.4 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.1305, allocations: 29.69 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.1305, allocations: 16.25 kB / 486.4 MB, free: 280 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1306, allocations: 0 / 486.4 MB, free: 280 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000139/0.1307, allocations: 89.52 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1307, allocations: 4 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1307, allocations: 4.031 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1308, allocations: 4 kB / 486.5 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.1308, allocations: 8 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1309, allocations: 0 / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1309, allocations: 15.83 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1309, allocations: 0 / 486.5 MB, free: 148 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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 8.974e-05/0.131, allocations: 129.7 kB / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.1311, allocations: 11.95 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.1311, allocations: 16.94 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1311, allocations: 4 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1311, allocations: 0 / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1311, allocations: 0 / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1313, allocations: 193.5 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1313, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.1313, allocations: 11.92 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1313, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1313, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1313, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1313, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1315, allocations: 109 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1316, allocations: 92.88 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1316, allocations: 0 / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.1316, allocations: 11.98 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1317, allocations: 0 / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1317, allocations: 4 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1318, allocations: 140.9 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1318, allocations: 0 / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1321, allocations: 24 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001456/0.1335, allocations: 0.9429 MB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1337, allocations: 39.92 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1337, allocations: 4.062 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.1338, allocations: 19.98 kB / 488.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1341, allocations: 27.08 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1351, allocations: 0.6384 MB / 488.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1354, allocations: 0.704 MB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.1355, allocations: 16.55 kB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.1355, allocations: 31.42 kB / 489.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1356, allocations: 4 kB / 489.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.1505, allocations: 2.654 MB / 492.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.1509, allocations: 229.9 kB / 492.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.953, allocations: 3.938 kB / 492.6 MB, free: 10.16 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat