Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008743/0.0008741, allocations: 100.7 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.0008492/0.0008494, allocations: 191.7 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.4/1.4, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 45.91 MB / 344.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003004, allocations: 15.98 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001995/0.1397, allocations: 1.291 MB / 482.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.1406, allocations: 499.2 kB / 483.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.1407, allocations: 4 kB / 483.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1409, allocations: 15.92 kB / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1411, allocations: 63.81 kB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1414, allocations: 91.77 kB / 483.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1415, allocations: 59.77 kB / 483.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.1416, allocations: 12 kB / 483.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.1417, allocations: 19.92 kB / 483.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.1417, allocations: 19.86 kB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1417, allocations: 0 / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.1418, allocations: 27.98 kB / 483.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.1419, allocations: 15.92 kB / 483.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.1419, allocations: 29.7 kB / 483.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.142, allocations: 56.19 kB / 483.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.1421, allocations: 7.938 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1421, allocations: 3.938 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1421, allocations: 0 / 483.8 MB, free: 3.055 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.0005132/0.1426, allocations: 379 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1427, allocations: 8.031 kB / 484.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.1427, allocations: 30.56 kB / 484.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.1427, allocations: 7.906 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1429, allocations: 193.2 kB / 484.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.143, allocations: 8 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.143, allocations: 4 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1431, allocations: 53.67 kB / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1432, allocations: 3.938 kB / 484.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1432, allocations: 0 / 484.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1432, allocations: 4 kB / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.472e-05/0.1433, allocations: 23.98 kB / 484.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1437, allocations: 284.8 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.144, allocations: 54.48 kB / 484.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.144, allocations: 12.86 kB / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.1441, allocations: 8.078 kB / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1441, allocations: 34.56 kB / 484.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1441, allocations: 4 kB / 484.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005647/0.1447, allocations: 157.3 kB / 485.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1447, allocations: 59.36 kB / 485.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1449, allocations: 154 kB / 485.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1449, allocations: 25.7 kB / 485.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.1449, allocations: 96.12 kB / 485.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.145, allocations: 15.81 kB / 485.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.145, allocations: 0 / 485.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1451, allocations: 318.8 kB / 485.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.1452, allocations: 31.92 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.1452, allocations: 23.98 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.032e-05/0.1453, allocations: 23.98 kB / 485.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1453, allocations: 0 / 485.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.1455, allocations: 105.5 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1456, allocations: 4 kB / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1456, allocations: 0 / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1456, allocations: 3.953 kB / 485.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.1457, allocations: 12 kB / 485.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1457, allocations: 3.984 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.1457, allocations: 11.94 kB / 485.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1457, allocations: 8 kB / 486 MB, free: 0.7031 MB / 350.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 9.213e-05/0.1458, allocations: 113.8 kB / 486.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1459, allocations: 7.906 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.1461, allocations: 113.8 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1461, allocations: 288 / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1461, allocations: 8.266 kB / 486.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1462, allocations: 0 / 486.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.1465, allocations: 362.5 kB / 486.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1466, allocations: 3.984 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.1466, allocations: 19.98 kB / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1466, allocations: 0 / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1467, allocations: 3.953 kB / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1467, allocations: 3.938 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1467, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1469, allocations: 195.4 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.147, allocations: 81.02 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.147, allocations: 4 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.1471, allocations: 11.94 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1471, allocations: 0 / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1471, allocations: 4 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.351e-05/0.1472, allocations: 117.3 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1472, allocations: 4 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1475, allocations: 16 kB / 487 MB, free: 15.55 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.001301/0.1488, allocations: 1.013 MB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.149, allocations: 55.95 kB / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.149, allocations: 0 / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.1491, allocations: 35.92 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1494, allocations: 19.94 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1506, allocations: 0.5942 MB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1509, allocations: 0.6965 MB / 489.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.151, allocations: 19.97 kB / 489.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.151, allocations: 23.42 kB / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.151, allocations: 192 / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.1631, allocations: 2.148 MB / 491.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.1633, allocations: 220.9 kB / 491.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.946, allocations: 4.062 kB / 491.8 MB, free: 10.85 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat does not exist to compare? outputFormat=mat