Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008273, allocations: 96.02 kB / 17 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009637/0.000964, allocations: 198 kB / 17.91 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 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.2325/0.2325, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002412, allocations: 12 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 63.46 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001716/0.1293, allocations: 1.295 MB / 482.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1307, allocations: 1.074 MB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.1308, allocations: 4 kB / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.131, allocations: 31.84 kB / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1312, allocations: 55.83 kB / 484.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1314, allocations: 99.31 kB / 484.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1315, allocations: 51.84 kB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.1316, allocations: 15.98 kB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.1317, allocations: 23.86 kB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1318, allocations: 31.84 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1318, allocations: 0 / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.132, allocations: 83.89 kB / 484.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.132, allocations: 7.969 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1321, allocations: 41.58 kB / 484.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1322, allocations: 96.14 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1322, allocations: 0 / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1322, allocations: 0 / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1323, allocations: 4 kB / 484.5 MB, free: 2.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000429/0.1327, allocations: 391.1 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1327, allocations: 8.031 kB / 484.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1328, allocations: 38.56 kB / 485 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.1328, allocations: 7.906 kB / 485 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.133, allocations: 197.9 kB / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-06/0.133, allocations: 0 / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.133, allocations: 7.984 kB / 485.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1332, allocations: 67.41 kB / 485.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1332, allocations: 0 / 485.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1332, allocations: 4 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1332, allocations: 0 / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.1333, allocations: 27.97 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1337, allocations: 292.8 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1339, allocations: 46.55 kB / 485.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.1339, allocations: 20.86 kB / 485.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1339, allocations: 4 kB / 485.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.134, allocations: 34.64 kB / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.134, allocations: 0 / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005152/0.1345, allocations: 169.2 kB / 485.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1345, allocations: 81.06 kB / 485.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1347, allocations: 148.2 kB / 486.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1347, allocations: 25.7 kB / 486.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.1347, allocations: 96.08 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1348, allocations: 11.8 kB / 486.2 MB, free: 448 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1348, allocations: 4 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.1349, allocations: 318.8 kB / 486.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.135, allocations: 27.92 kB / 486.5 MB, free: 88 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.135, allocations: 41.69 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.347e-05/0.1351, allocations: 32.02 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1351, allocations: 3.938 kB / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.1353, allocations: 89.66 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1353, allocations: 4 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1354, allocations: 4.266 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1354, allocations: 0 / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.1354, allocations: 16 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1355, allocations: 3.953 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1355, allocations: 11.98 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1355, allocations: 3.938 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.175e-05/0.1356, allocations: 113.8 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1356, allocations: 11.89 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.1359, allocations: 109.9 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1359, allocations: 4 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1359, allocations: 0 / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1359, allocations: 4.266 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.1363, allocations: 378.4 kB / 487.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1363, allocations: 0 / 487.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.1364, allocations: 12 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1364, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.1364, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1364, allocations: 7.938 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1364, allocations: 0 / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1366, allocations: 191.5 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1367, allocations: 85 kB / 487.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1367, allocations: 4 kB / 487.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.1368, allocations: 15.98 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1368, allocations: 7.953 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1368, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.1369, allocations: 117.4 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1369, allocations: 0 / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1372, allocations: 35.98 kB / 487.8 MB, free: 14.69 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001329/0.1385, allocations: 1.098 MB / 488.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1387, allocations: 63.89 kB / 489 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1387, allocations: 4 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.1388, allocations: 32.11 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1391, allocations: 19.94 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.1401, allocations: 0.5707 MB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1403, allocations: 0.7005 MB / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.551e-05/0.1404, allocations: 11.98 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.1404, allocations: 31.41 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1404, allocations: 0 / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.1541, allocations: 2.788 MB / 493.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.1543, allocations: 233.6 kB / 493.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.047, allocations: 3.938 kB / 493.4 MB, free: 9.297 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat does not exist to compare? outputFormat=mat