Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001039/0.001039, allocations: 99.11 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 191.1 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.443/1.443, allocations: 227.3 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.2045/0.2045, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004249, allocations: 11.98 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.001871/0.1299, allocations: 1.314 MB / 483 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008581/0.1307, allocations: 483.3 kB / 483.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.1308, allocations: 0 / 483.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.1314, allocations: 443.2 kB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.1318, allocations: 271.4 kB / 484.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1322, allocations: 111.2 kB / 484.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.1324, allocations: 135.7 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.1325, allocations: 4.188 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1326, allocations: 107.7 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1328, allocations: 159.7 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1329, allocations: 0 / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.186e-05/0.1329, allocations: 31.98 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.1331, allocations: 75.75 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1331, allocations: 73.45 kB / 484.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1333, allocations: 171.8 kB / 485 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1333, allocations: 0 / 485 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1334, allocations: 3.938 kB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1334, allocations: 0 / 485 MB, free: 1.871 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.000702/0.1341, allocations: 0.599 MB / 485.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1341, allocations: 8.031 kB / 485.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.1342, allocations: 42.5 kB / 485.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.1342, allocations: 35.53 kB / 485.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1345, allocations: 279.3 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1345, allocations: 3.938 kB / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1345, allocations: 4 kB / 485.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1347, allocations: 49.67 kB / 486 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.1347, allocations: 4 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1347, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1347, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.1348, allocations: 27.98 kB / 486 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.1352, allocations: 376.8 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.1353, allocations: 34.52 kB / 486.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.1354, allocations: 20.91 kB / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1354, allocations: 0 / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1355, allocations: 30.56 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1355, allocations: 0 / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002381/0.1357, allocations: 109.1 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1358, allocations: 67.39 kB / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/0.1366, allocations: 0.8699 MB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1366, allocations: 25.7 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1368, allocations: 228 kB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.1368, allocations: 3.906 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.1368, allocations: 4 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.137, allocations: 358.8 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.137, allocations: 15.98 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.1371, allocations: 8 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.1371, allocations: 11.98 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1371, allocations: 3.938 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001483/0.1373, allocations: 93.12 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1373, allocations: 10.44 kB / 488.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1373, allocations: 7.984 kB / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1373, allocations: 0 / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.1374, allocations: 7.938 kB / 488.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1374, allocations: 0 / 488.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.1375, allocations: 11.94 kB / 488.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1375, allocations: 0 / 488.3 MB, free: 14.33 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 (2): * Single equations (assignments): 2 * 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.0001751/0.1377, allocations: 209.8 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.1377, allocations: 47.44 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.1379, allocations: 104.7 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1379, allocations: 0 / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1379, allocations: 0 / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.138, allocations: 8 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1382, allocations: 289.5 kB / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1383, allocations: 0 / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.1383, allocations: 8.031 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1383, allocations: 7.938 kB / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1383, allocations: 0 / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1383, allocations: 0 / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1383, allocations: 0 / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1385, allocations: 190.9 kB / 489.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.1386, allocations: 116.7 kB / 489.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1386, allocations: 3.984 kB / 489.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.1387, allocations: 4 kB / 489.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.1387, allocations: 3.984 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1388, allocations: 0 / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006016/0.1394, allocations: 0.6589 MB / 489.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1394, allocations: 0 / 489.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1396, allocations: 19.98 kB / 489.9 MB, free: 12.58 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 (2): * Single equations (assignments): 2 * 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.001131/0.1408, allocations: 0.9729 MB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1409, allocations: 23.98 kB / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1409, allocations: 0 / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.141, allocations: 8 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1413, allocations: 30.36 kB / 491 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.1441, allocations: 2.264 MB / 493.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.1445, allocations: 0.8262 MB / 494.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.725e-05/0.1446, allocations: 4.188 kB / 494.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1447, allocations: 107.4 kB / 494.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1447, allocations: 0 / 494.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.1626, allocations: 5.213 MB / 499.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.163, allocations: 217.6 kB / 499.6 MB, free: 3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.089, allocations: 0 / 499.6 MB, free: 3 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat does not exist to compare? outputFormat=mat