Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009431/0.0009431, allocations: 94 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 197.6 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 45.92 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002668, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 63.46 MB / 481.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002206/0.1329, allocations: 1.373 MB / 483 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008727/0.1338, allocations: 0.4914 MB / 483.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1338, allocations: 0 / 483.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.1344, allocations: 451.1 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1347, allocations: 271.5 kB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.135, allocations: 111.4 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1353, allocations: 139.7 kB / 484.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1354, allocations: 19.92 kB / 484.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1355, allocations: 99.78 kB / 484.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.1357, allocations: 175.7 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1358, allocations: 3.938 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.1359, allocations: 36 kB / 484.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.136, allocations: 83.75 kB / 484.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.136, allocations: 69.45 kB / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1362, allocations: 203.9 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1363, allocations: 0 / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1363, allocations: 0 / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1363, allocations: 0 / 485.1 MB, free: 1.793 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006939/0.137, allocations: 0.6065 MB / 485.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.137, allocations: 12.03 kB / 485.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1371, allocations: 34.56 kB / 485.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1371, allocations: 43.44 kB / 485.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1374, allocations: 287.2 kB / 486.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.1374, allocations: 0 / 486.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1374, allocations: 4 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1376, allocations: 57.67 kB / 486.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1376, allocations: 4 kB / 486.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1376, allocations: 7.938 kB / 486.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1376, allocations: 0 / 486.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.1377, allocations: 35.91 kB / 486.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.1382, allocations: 400.6 kB / 486.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1383, allocations: 54.59 kB / 486.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.1383, allocations: 20.94 kB / 486.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1384, allocations: 0 / 486.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1384, allocations: 34.56 kB / 486.7 MB, free: 32 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1384, allocations: 0 / 486.7 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000934/0.1393, allocations: 347.7 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1394, allocations: 51.41 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008104/0.1402, allocations: 0.8738 MB / 488 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1402, allocations: 25.7 kB / 488 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1404, allocations: 228 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1404, allocations: 27.66 kB / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.1404, allocations: 0 / 488.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1406, allocations: 366.8 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.1407, allocations: 23.98 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.1407, allocations: 35.92 kB / 488.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.505e-05/0.1408, allocations: 31.98 kB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1408, allocations: 0 / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002407/0.1411, allocations: 145.1 kB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1411, allocations: 7.953 kB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1411, allocations: 0 / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1411, allocations: 4 kB / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.1412, allocations: 23.98 kB / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1412, allocations: 3.938 kB / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.1413, allocations: 8 kB / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1413, allocations: 0 / 488.9 MB, free: 13.8 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 (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 0.0001919/0.1415, allocations: 217.7 kB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.1416, allocations: 43.44 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.1419, allocations: 165.5 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1419, allocations: 4 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1419, allocations: 0 / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1419, allocations: 0 / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.1425, allocations: 0.5186 MB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1425, allocations: 0 / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.1426, allocations: 27.92 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1426, allocations: 0 / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1426, allocations: 8.031 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1426, allocations: 0 / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1426, allocations: 3.938 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1429, allocations: 244.3 kB / 490.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.1429, allocations: 120.5 kB / 490.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.143, allocations: 4 kB / 490.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.1431, allocations: 8 kB / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1431, allocations: 7.984 kB / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1431, allocations: 0 / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005665/0.1437, allocations: 0.6589 MB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.1437, allocations: 0 / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.144, allocations: 35.94 kB / 490.9 MB, free: 11.64 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.00143/0.1454, allocations: 1.127 MB / 492.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1456, allocations: 79.89 kB / 492.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1456, allocations: 0 / 492.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.1457, allocations: 35.98 kB / 492.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1461, allocations: 30.23 kB / 492.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.1489, allocations: 2.402 MB / 494.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.1494, allocations: 0.8262 MB / 495.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.1494, allocations: 12.73 kB / 495.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1495, allocations: 111.4 kB / 495.6 MB, free: 7.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1496, allocations: 4 kB / 495.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.1655, allocations: 5.758 MB / 0.4896 GB, free: 1.414 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/0.1658, allocations: 225.5 kB / 0.4898 GB, free: 1.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.063, allocations: 3.938 kB / 0.4898 GB, free: 1.164 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat does not exist to compare? outputFormat=mat