Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000728/0.000728, allocations: 99.95 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008688/0.0008689, allocations: 194.5 kB / 17.9 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 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.2534/0.2534, allocations: 45.91 MB / 344.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 63.47 MB / 481.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001822/0.1309, allocations: 1.377 MB / 483 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.1317, allocations: 0.4992 MB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.1318, allocations: 4 kB / 483.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.1323, allocations: 443.2 kB / 483.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.1326, allocations: 267.4 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1329, allocations: 115.8 kB / 484.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1331, allocations: 139.7 kB / 484.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.1332, allocations: 24.09 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.1333, allocations: 99.8 kB / 484.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1335, allocations: 175.6 kB / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1335, allocations: 4 kB / 484.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.1336, allocations: 43.97 kB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.1337, allocations: 83.75 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.1338, allocations: 69.45 kB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.134, allocations: 203.9 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.134, allocations: 3.938 kB / 485.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.134, allocations: 0 / 485.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.134, allocations: 0 / 485.1 MB, free: 1.746 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.0006394/0.1347, allocations: 0.6182 MB / 485.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1347, allocations: 8.031 kB / 485.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.1347, allocations: 34.56 kB / 485.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.1348, allocations: 47.38 kB / 485.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1351, allocations: 279.3 kB / 486.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.1351, allocations: 4 kB / 486.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1351, allocations: 8 kB / 486.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1353, allocations: 69.66 kB / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1353, allocations: 4 kB / 486.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1353, allocations: 0 / 486.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1353, allocations: 3.938 kB / 486.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1354, allocations: 55.89 kB / 486.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.1359, allocations: 396.7 kB / 486.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.1361, allocations: 62.58 kB / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/0.1362, allocations: 32.97 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1362, allocations: 4 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1363, allocations: 34.56 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1363, allocations: 0 / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001385/0.1377, allocations: 0.5347 MB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1377, allocations: 51.41 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/0.1385, allocations: 0.8698 MB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1385, allocations: 29.64 kB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1387, allocations: 224.1 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1387, allocations: 39.47 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.1387, allocations: 0 / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1388, allocations: 362.8 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.139, allocations: 47.97 kB / 488.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1391, allocations: 55.91 kB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1392, allocations: 51.97 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1392, allocations: 4 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003053/0.1395, allocations: 185.1 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1396, allocations: 10.14 kB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1396, allocations: 4 kB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1396, allocations: 3.938 kB / 489.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1397, allocations: 35.91 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1397, allocations: 0 / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.1398, allocations: 16 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1399, allocations: 7.984 kB / 489.3 MB, free: 13.36 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 (11): * Single equations (assignments): 11 * 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.0001895/0.1401, allocations: 213.8 kB / 489.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.1401, allocations: 44 kB / 489.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.1405, allocations: 229.7 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1406, allocations: 4 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1406, allocations: 4 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1406, allocations: 3.984 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.1414, allocations: 0.578 MB / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1414, allocations: 7.984 kB / 490.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1415, allocations: 39.98 kB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1415, allocations: 0 / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1415, allocations: 0 / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1415, allocations: 4 kB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1415, allocations: 0 / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.1419, allocations: 300.5 kB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.142, allocations: 116.5 kB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.142, allocations: 7.984 kB / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1421, allocations: 16 kB / 490.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1422, allocations: 11.98 kB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1422, allocations: 0 / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005626/0.1428, allocations: 0.6589 MB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1428, allocations: 0 / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.143, allocations: 35.98 kB / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001481/0.1445, allocations: 1.173 MB / 492.7 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.1448, allocations: 131.8 kB / 492.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1448, allocations: 0 / 492.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.145, allocations: 67.91 kB / 492.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1453, allocations: 26.3 kB / 492.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.1484, allocations: 2.499 MB / 495.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1489, allocations: 0.8301 MB / 496.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.055e-05/0.1489, allocations: 16.55 kB / 496.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1491, allocations: 115.4 kB / 496.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1491, allocations: 0 / 496.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.1719, allocations: 5.909 MB / 0.4905 GB, free: 392 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/0.1723, allocations: 221.7 kB / 0.4907 GB, free: 140 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.056, allocations: 0 / 0.4907 GB, free: 140 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat does not exist to compare? outputFormat=mat