Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008907/0.0008907, allocations: 95.31 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009984/0.0009986, allocations: 195.7 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.3 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002901, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1293, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002331/0.1317, allocations: 1.744 MB / 483.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1334, allocations: 1.26 MB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.996e-05/0.1335, allocations: 0 / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1337, allocations: 51.69 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.134, allocations: 179.4 kB / 484.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1352, allocations: 0.5436 MB / 485.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1355, allocations: 295 kB / 485.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1357, allocations: 56.91 kB / 485.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1359, allocations: 131.4 kB / 485.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1361, allocations: 167.3 kB / 486.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1361, allocations: 8 kB / 486.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1363, allocations: 63.91 kB / 486.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1364, allocations: 135.6 kB / 486.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.1365, allocations: 81.39 kB / 486.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1368, allocations: 319.7 kB / 486.6 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1368, allocations: 0 / 486.6 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1368, allocations: 0 / 486.6 MB, free: 252 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1368, allocations: 0 / 486.6 MB, free: 252 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009548/0.1378, allocations: 0.7658 MB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1378, allocations: 8.031 kB / 487.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.1379, allocations: 46.55 kB / 487.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.1383, allocations: 103.2 kB / 487.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.1388, allocations: 455.8 kB / 488 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1389, allocations: 11.94 kB / 488 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1389, allocations: 12 kB / 488 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.1392, allocations: 170.5 kB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1392, allocations: 8 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1393, allocations: 4 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1393, allocations: 4 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.1396, allocations: 131.9 kB / 488.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.1405, allocations: 0.7424 MB / 489.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1408, allocations: 141.2 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.141, allocations: 81.75 kB / 489.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.141, allocations: 3.938 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1411, allocations: 42.5 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.1411, allocations: 0 / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001978/0.1431, allocations: 0.8218 MB / 490.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1431, allocations: 89.03 kB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.1441, allocations: 0.9182 MB / 491.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1442, allocations: 25.7 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.1444, allocations: 276.6 kB / 491.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.1444, allocations: 71 kB / 491.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.1445, allocations: 7.938 kB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1446, allocations: 313.9 kB / 491.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.1449, allocations: 127.9 kB / 492 MB, free: 10.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1452, allocations: 141.6 kB / 492.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1455, allocations: 139.9 kB / 492.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1455, allocations: 0 / 492.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007316/0.1462, allocations: 372.9 kB / 492.6 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1462, allocations: 4 kB / 492.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1463, allocations: 0 / 492.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1463, allocations: 4 kB / 492.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1466, allocations: 67.94 kB / 492.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1466, allocations: 3.938 kB / 492.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1468, allocations: 35.94 kB / 492.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.1468, allocations: 11.98 kB / 492.7 MB, free: 9.879 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002265/0.147, allocations: 217.8 kB / 493 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.1471, allocations: 63.16 kB / 493 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008459/0.148, allocations: 430.4 kB / 493.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.148, allocations: 0 / 493.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.148, allocations: 0 / 493.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.148, allocations: 4 kB / 493.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1494, allocations: 0.9971 MB / 494.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1494, allocations: 0 / 494.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.1497, allocations: 72.92 kB / 494.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1497, allocations: 0 / 494.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.1497, allocations: 7.953 kB / 494.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1497, allocations: 3.984 kB / 494.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1497, allocations: 4 kB / 494.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.1505, allocations: 0.5467 MB / 495.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.1506, allocations: 160.3 kB / 495.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.1507, allocations: 8 kB / 495.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1509, allocations: 31.98 kB / 495.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.151, allocations: 23.92 kB / 495.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1511, allocations: 11.92 kB / 495.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007503/0.1518, allocations: 0.6747 MB / 496 MB, free: 6.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1518, allocations: 0 / 496 MB, free: 6.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.1522, allocations: 64 kB / 496 MB, free: 6.469 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 (20): * Single equations (assignments): 20 * 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.001835/0.154, allocations: 1.371 MB / 497.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.1547, allocations: 299.7 kB / 497.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1547, allocations: 0 / 497.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.1551, allocations: 156.4 kB / 497.9 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.1556, allocations: 80.33 kB / 497.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.161, allocations: 3.624 MB / 0.4898 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1615, allocations: 0.8889 MB / 0.4907 GB, free: 80 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.1618, allocations: 107.2 kB / 0.4908 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.1621, allocations: 183.4 kB / 0.491 GB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1621, allocations: 0 / 0.491 GB, free: 15.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.1839, allocations: 9.539 MB / 0.5003 GB, free: 6.375 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.1842, allocations: 224.4 kB / 0.5005 GB, free: 6.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.253, allocations: 4 kB / 0.5005 GB, free: 6.129 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat