Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008353/0.000835, allocations: 98.2 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.0008717/0.0008717, allocations: 192.2 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.399/1.399, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.000273, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 63.48 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002359/0.1414, allocations: 1.307 MB / 483 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.1423, allocations: 487.2 kB / 483.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.1424, allocations: 0 / 483.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1428, allocations: 75.78 kB / 483.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1431, allocations: 83.78 kB / 483.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1434, allocations: 79.84 kB / 483.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1436, allocations: 67.81 kB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1437, allocations: 11.98 kB / 483.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.1438, allocations: 31.86 kB / 483.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1439, allocations: 43.81 kB / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1439, allocations: 8 kB / 483.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1441, allocations: 35.98 kB / 483.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1441, allocations: 23.91 kB / 483.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.1442, allocations: 37.64 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1443, allocations: 72.17 kB / 484 MB, free: 2.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1443, allocations: 4 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.197e-06/0.1444, allocations: 0 / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1444, allocations: 3.938 kB / 484 MB, free: 2.891 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.0005374/0.1449, allocations: 398.9 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.145, allocations: 12.03 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.145, allocations: 38.5 kB / 484.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.145, allocations: 7.906 kB / 484.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1453, allocations: 195.5 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1453, allocations: 4 kB / 484.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1453, allocations: 0 / 484.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1455, allocations: 61.66 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1455, allocations: 0 / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1455, allocations: 0 / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1455, allocations: 7.984 kB / 484.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1456, allocations: 31.97 kB / 484.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.1461, allocations: 308.6 kB / 485 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1462, allocations: 42.56 kB / 485.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.1463, allocations: 16.86 kB / 485.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1463, allocations: 4 kB / 485.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1463, allocations: 42.58 kB / 485.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1463, allocations: 0 / 485.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009088/0.1472, allocations: 245.1 kB / 485.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1473, allocations: 55.41 kB / 485.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1475, allocations: 214.7 kB / 485.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1476, allocations: 33.7 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.1477, allocations: 104.1 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1477, allocations: 23.66 kB / 485.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.1477, allocations: 0 / 485.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1479, allocations: 330.8 kB / 486.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.1479, allocations: 27.97 kB / 486.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.148, allocations: 27.98 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.055e-05/0.1481, allocations: 32.05 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1481, allocations: 4 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000211/0.1483, allocations: 113.4 kB / 486.3 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1484, allocations: 6.344 kB / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1484, allocations: 0 / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1484, allocations: 3.953 kB / 486.3 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1485, allocations: 23.98 kB / 486.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1485, allocations: 0 / 486.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.1486, allocations: 7.984 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1486, allocations: 8 kB / 486.4 MB, free: 288 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 0.0001137/0.1487, allocations: 121.8 kB / 486.5 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.1488, allocations: 7.906 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.149, allocations: 139.1 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1491, allocations: 3.953 kB / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1491, allocations: 0 / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1491, allocations: 0 / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.1496, allocations: 415.4 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1496, allocations: 0 / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.1497, allocations: 23.94 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1497, allocations: 0 / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1498, allocations: 8 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1498, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1498, allocations: 3.984 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1501, allocations: 220.2 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.1502, allocations: 89 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1502, allocations: 3.953 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1503, allocations: 12 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.1503, allocations: 12.34 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1503, allocations: 4 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1505, allocations: 164.7 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 0 / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1508, allocations: 23.98 kB / 487.6 MB, free: 14.95 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.001588/0.1524, allocations: 1.091 MB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1526, allocations: 67.97 kB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1526, allocations: 0 / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1527, allocations: 43.92 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.153, allocations: 19.97 kB / 488.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1544, allocations: 0.7708 MB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1547, allocations: 0.7082 MB / 490.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.1548, allocations: 12.97 kB / 490.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.1548, allocations: 43.36 kB / 490.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1548, allocations: 0 / 490.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.1695, allocations: 2.651 MB / 493 MB, free: 9.715 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.1697, allocations: 222 kB / 493.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.045, allocations: 64 / 493.2 MB, free: 9.473 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat