Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 102.4 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.002224/0.002224, allocations: 191.9 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.469/1.469, allocations: 227.4 MB / 246 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 45.9 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002727, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1287, allocations: 63.47 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001873/0.1306, allocations: 1.31 MB / 482.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.1314, allocations: 483.2 kB / 483.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.1315, allocations: 4 kB / 483.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.1317, allocations: 91.67 kB / 483.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.132, allocations: 95.77 kB / 483.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.1322, allocations: 75.36 kB / 483.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1324, allocations: 75.8 kB / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.1325, allocations: 11.98 kB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.1325, allocations: 31.84 kB / 483.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.1326, allocations: 51.81 kB / 483.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1327, allocations: 0 / 483.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.1327, allocations: 40 kB / 483.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.1328, allocations: 19.91 kB / 483.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.1328, allocations: 37.64 kB / 483.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.133, allocations: 76.17 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.133, allocations: 0 / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.133, allocations: 0 / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.133, allocations: 3.938 kB / 484 MB, free: 2.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005233/0.1335, allocations: 422.7 kB / 484.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1336, allocations: 8.031 kB / 484.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.1336, allocations: 38.56 kB / 484.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.1337, allocations: 7.906 kB / 484.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.1339, allocations: 203.3 kB / 484.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.1339, allocations: 4 kB / 484.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1339, allocations: 4 kB / 484.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1341, allocations: 53.67 kB / 484.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1341, allocations: 0 / 484.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1341, allocations: 8 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1341, allocations: 0 / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.1342, allocations: 31.92 kB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.1346, allocations: 296.8 kB / 485.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1347, allocations: 46.56 kB / 485.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.1348, allocations: 20.86 kB / 485.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1348, allocations: 3.938 kB / 485.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1348, allocations: 34.64 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1348, allocations: 0 / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008466/0.1357, allocations: 260.9 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1357, allocations: 51.41 kB / 485.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1359, allocations: 230.6 kB / 485.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.136, allocations: 29.7 kB / 485.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.136, allocations: 108 kB / 485.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.136, allocations: 23.66 kB / 485.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.1361, allocations: 8 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.1362, allocations: 322.8 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.1362, allocations: 23.98 kB / 486.2 MB, free: 432 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.1363, allocations: 43.97 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.1364, allocations: 28 kB / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1364, allocations: 4 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001829/0.1366, allocations: 109.4 kB / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1366, allocations: 4 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1366, allocations: 0 / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1366, allocations: 3.953 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.1367, allocations: 23.98 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1367, allocations: 4 kB / 486.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.1368, allocations: 8 kB / 486.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1368, allocations: 0 / 486.4 MB, free: 196 kB / 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 (8): * Single equations (assignments): 8 * 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.446e-05/0.1369, allocations: 129.8 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1369, allocations: 16.23 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.1372, allocations: 127 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1372, allocations: 3.953 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1372, allocations: 0 / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1372, allocations: 3.984 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.1377, allocations: 415.7 kB / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1377, allocations: 4 kB / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.1377, allocations: 19.94 kB / 487.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1378, allocations: 4 kB / 487.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1378, allocations: 4 kB / 487.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1378, allocations: 4.031 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1378, allocations: 3.984 kB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.138, allocations: 216.2 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1381, allocations: 100.9 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1381, allocations: 7.953 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.1382, allocations: 4 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1382, allocations: 15.92 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1382, allocations: 0 / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1384, allocations: 184.3 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1384, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1386, allocations: 16 kB / 487.7 MB, free: 14.83 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001418/0.1401, allocations: 1.084 MB / 488.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1403, allocations: 75.89 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1403, allocations: 0 / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.1404, allocations: 35.98 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1407, allocations: 16.17 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1419, allocations: 0.8206 MB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1422, allocations: 0.7121 MB / 490.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.1422, allocations: 8.969 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.1423, allocations: 43.42 kB / 490.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1423, allocations: 0 / 490.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.1546, allocations: 2.733 MB / 493.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/0.155, allocations: 228.7 kB / 493.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.03, allocations: 0 / 493.4 MB, free: 9.227 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat