Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001007, allocations: 100.6 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001368, allocations: 192 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.419/1.419, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 45.9 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 15.98 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 63.48 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001953/0.1296, allocations: 1.439 MB / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.131, allocations: 0.9402 MB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.1311, allocations: 0 / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1314, allocations: 79.77 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1317, allocations: 95.7 kB / 484.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.132, allocations: 99.7 kB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1321, allocations: 99.67 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.1322, allocations: 11.98 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.1323, allocations: 47.78 kB / 484.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.1324, allocations: 47.81 kB / 484.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1325, allocations: 4 kB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.1326, allocations: 28 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.1326, allocations: 27.89 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.1327, allocations: 41.64 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1328, allocations: 96.08 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1328, allocations: 4 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1329, allocations: 0 / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1329, allocations: 0 / 484.7 MB, free: 2.191 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000475/0.1333, allocations: 410.8 kB / 485.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1334, allocations: 8.031 kB / 485.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.1334, allocations: 42.55 kB / 485.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1335, allocations: 11.81 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1337, allocations: 211.3 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1337, allocations: 12 kB / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1337, allocations: 0 / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1339, allocations: 53.67 kB / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1339, allocations: 0 / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1339, allocations: 0 / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1339, allocations: 4 kB / 485.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/0.134, allocations: 19.92 kB / 485.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1344, allocations: 292.8 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1345, allocations: 62.67 kB / 485.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.1346, allocations: 20.84 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1346, allocations: 3.938 kB / 485.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.1348, allocations: 71.3 kB / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.996e-06/0.1348, allocations: 4 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005939/0.1354, allocations: 169.2 kB / 486.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1354, allocations: 63.34 kB / 486.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1357, allocations: 212.3 kB / 486.3 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1357, allocations: 33.7 kB / 486.4 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.1358, allocations: 108 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1358, allocations: 23.73 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.1359, allocations: 0 / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.136, allocations: 338.7 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.1361, allocations: 19.98 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.1362, allocations: 33.7 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.1363, allocations: 24 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1363, allocations: 3.938 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.1364, allocations: 101.5 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1365, allocations: 7.984 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1365, allocations: 4.031 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1365, allocations: 4 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.1366, allocations: 15.94 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1366, allocations: 3.953 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.1367, allocations: 8.375 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1367, allocations: 7.984 kB / 487.1 MB, free: 15.59 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001189/0.1368, allocations: 117.8 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.1369, allocations: 19.81 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/0.1369, allocations: 21.39 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1369, allocations: 4 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.137, allocations: 4 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.137, allocations: 3.953 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1374, allocations: 395.3 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1374, allocations: 0 / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.1375, allocations: 8 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1375, allocations: 0 / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1375, allocations: 4.031 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1375, allocations: 7.953 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1375, allocations: 0 / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1377, allocations: 208.1 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.1378, allocations: 89.02 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.1378, allocations: 4 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.1379, allocations: 3.984 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1379, allocations: 11.95 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1379, allocations: 4 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1381, allocations: 169.2 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1381, allocations: 0 / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1383, allocations: 23.91 kB / 488.1 MB, free: 14.41 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001362/0.1397, allocations: 1.091 MB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1399, allocations: 59.92 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1399, allocations: 0 / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.14, allocations: 27.98 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1403, allocations: 28.11 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.1415, allocations: 0.7929 MB / 490.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1418, allocations: 0.7196 MB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.1419, allocations: 17.17 kB / 490.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.1419, allocations: 35.42 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.142, allocations: 0 / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.1545, allocations: 3.11 MB / 494 MB, free: 8.719 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.1547, allocations: 227.7 kB / 494.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.986, allocations: 0 / 494.2 MB, free: 8.473 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat