Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 102 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.002338/0.002338, 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.402/1.402, allocations: 227.3 MB / 246 MB, free: 11.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 45.92 MB / 344.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 63.46 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002273/0.1311, allocations: 1.295 MB / 482.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1322, allocations: 495.2 kB / 483.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.1323, allocations: 0 / 483.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1325, allocations: 19.92 kB / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1328, allocations: 59.81 kB / 483.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1331, allocations: 103.8 kB / 483.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1333, allocations: 59.78 kB / 483.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1334, allocations: 7.984 kB / 483.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.1335, allocations: 19.92 kB / 483.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.1335, allocations: 23.84 kB / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1336, allocations: 4 kB / 483.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.1336, allocations: 28 kB / 483.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.1337, allocations: 15.92 kB / 483.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.1337, allocations: 33.58 kB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1339, allocations: 64.17 kB / 483.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1339, allocations: 0 / 483.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1339, allocations: 0 / 483.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1339, allocations: 0 / 483.8 MB, free: 3.043 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.0004777/0.1344, allocations: 382.9 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1344, allocations: 16.03 kB / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1345, allocations: 34.55 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1345, allocations: 7.906 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1347, allocations: 179 kB / 484.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1347, allocations: 0 / 484.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1348, allocations: 11.98 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1349, allocations: 49.62 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1349, allocations: 4 kB / 484.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.135, allocations: 0 / 484.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.135, allocations: 4 kB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.1351, allocations: 27.98 kB / 484.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.1355, allocations: 288.8 kB / 484.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1357, allocations: 54.5 kB / 484.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.1358, allocations: 16.94 kB / 484.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1358, allocations: 4 kB / 484.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1358, allocations: 34.56 kB / 484.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1359, allocations: 0 / 484.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005857/0.1364, allocations: 169.2 kB / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1365, allocations: 51.41 kB / 485.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1367, allocations: 162.4 kB / 485.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1367, allocations: 29.7 kB / 485.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.1368, allocations: 96.12 kB / 485.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1368, allocations: 27.64 kB / 485.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1368, allocations: 0 / 485.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.137, allocations: 314.8 kB / 485.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.137, allocations: 27.97 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.1371, allocations: 27.98 kB / 485.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/0.1372, allocations: 23.98 kB / 485.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1372, allocations: 3.938 kB / 485.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.1374, allocations: 101.5 kB / 485.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1374, allocations: 7.984 kB / 486 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1374, allocations: 0 / 486 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1374, allocations: 3.953 kB / 486 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.1375, allocations: 12 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1375, allocations: 0 / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.1376, allocations: 11.98 kB / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1376, allocations: 3.938 kB / 486 MB, free: 0.6719 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 8.047e-05/0.1377, allocations: 121.8 kB / 486.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.1377, allocations: 7.906 kB / 486.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.1379, allocations: 109.9 kB / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1379, allocations: 0 / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.138, allocations: 3.953 kB / 486.2 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.138, allocations: 4 kB / 486.2 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.1384, allocations: 358.9 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1384, allocations: 4.062 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.1385, allocations: 15.97 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1385, allocations: 4.281 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1385, allocations: 7.953 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1385, allocations: 3.984 kB / 486.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1385, allocations: 0 / 486.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1388, allocations: 195.4 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.1388, allocations: 85.02 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1388, allocations: 0 / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1389, allocations: 15.94 kB / 486.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.1389, allocations: 0 / 486.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.139, allocations: 8 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1391, allocations: 130.8 kB / 487 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 0 / 487 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1393, allocations: 12 kB / 487 MB, free: 15.51 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.001502/0.1408, allocations: 1.016 MB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.141, allocations: 59.97 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.141, allocations: 0 / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.1411, allocations: 35.92 kB / 488.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1414, allocations: 15.94 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.1425, allocations: 0.6327 MB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1427, allocations: 0.6965 MB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.195e-05/0.1428, allocations: 11.98 kB / 489.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.1428, allocations: 31.38 kB / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1429, allocations: 0 / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.1545, allocations: 2.182 MB / 491.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.1547, allocations: 225.5 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.059, allocations: 0 / 491.9 MB, free: 10.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat does not exist to compare? outputFormat=mat