Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008923/0.0008928, allocations: 94.31 kB / 17 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009139/0.0009138, allocations: 197.1 kB / 17.9 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 45.93 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004349, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 63.46 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001853/0.152, allocations: 1.345 MB / 483 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.1528, allocations: 495.2 kB / 483.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.1529, allocations: 4 kB / 483.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.1532, allocations: 91.75 kB / 483.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1534, allocations: 95.75 kB / 483.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1536, allocations: 83.28 kB / 483.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1538, allocations: 83.75 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.1539, allocations: 23.98 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.154, allocations: 39.83 kB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1541, allocations: 47.81 kB / 483.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1541, allocations: 0 / 483.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.1542, allocations: 36 kB / 484 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.1542, allocations: 19.92 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.1543, allocations: 45.64 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1544, allocations: 88.12 kB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1544, allocations: 0 / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1544, allocations: 3.938 kB / 484.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1544, allocations: 0 / 484.1 MB, free: 2.754 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004591/0.1549, allocations: 422.8 kB / 484.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.155, allocations: 8.031 kB / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.155, allocations: 34.56 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.155, allocations: 11.81 kB / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1552, allocations: 215.3 kB / 484.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.1552, allocations: 0 / 484.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1553, allocations: 11.91 kB / 484.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1554, allocations: 73.59 kB / 484.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1554, allocations: 0 / 484.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1555, allocations: 4 kB / 484.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1555, allocations: 0 / 484.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1556, allocations: 51.91 kB / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.156, allocations: 328.7 kB / 485.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1561, allocations: 66.48 kB / 485.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1562, allocations: 28.84 kB / 485.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1562, allocations: 4.141 kB / 485.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1562, allocations: 38.56 kB / 485.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1562, allocations: 0 / 485.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009217/0.1572, allocations: 328.9 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1572, allocations: 55.34 kB / 485.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1574, allocations: 240.3 kB / 486 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1574, allocations: 37.64 kB / 486 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.1575, allocations: 108 kB / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.1575, allocations: 47.34 kB / 486.2 MB, free: 476 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.1576, allocations: 4 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1577, allocations: 322.8 kB / 486.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.1578, allocations: 43.98 kB / 486.5 MB, free: 96 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/0.1578, allocations: 39.97 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.1579, allocations: 43.98 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1579, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002486/0.1582, allocations: 145.5 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1582, allocations: 10.3 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1582, allocations: 0 / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1582, allocations: 4.109 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1584, allocations: 31.86 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1584, allocations: 4.703 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1584, allocations: 15.98 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1584, allocations: 4 kB / 486.8 MB, free: 15.79 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 (13): * Single equations (assignments): 13 * 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 9.029e-05/0.1585, allocations: 125.8 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.1586, allocations: 19.8 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1589, allocations: 182.6 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1589, allocations: 4 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1589, allocations: 0 / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1589, allocations: 0 / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.1595, allocations: 479.1 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1595, allocations: 0 / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.1596, allocations: 31.92 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1596, allocations: 4 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1596, allocations: 8 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1596, allocations: 3.984 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1596, allocations: 7.969 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1599, allocations: 252.1 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.16, allocations: 89 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.16, allocations: 4 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.1601, allocations: 8 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1601, allocations: 11.98 kB / 488 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1601, allocations: 4 kB / 488 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1603, allocations: 181.2 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1603, allocations: 3.938 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1605, allocations: 27.91 kB / 488.2 MB, free: 14.27 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 (13): * Single equations (assignments): 13 * 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.00133/0.1619, allocations: 1.125 MB / 489.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1621, allocations: 99.89 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1621, allocations: 4 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.1622, allocations: 59.91 kB / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1626, allocations: 16.17 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1639, allocations: 0.9274 MB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1642, allocations: 0.7235 MB / 491.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.1643, allocations: 24.53 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1644, allocations: 43.42 kB / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1644, allocations: 0 / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.1781, allocations: 3.041 MB / 494.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.1783, allocations: 217.9 kB / 494.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.04, allocations: 0 / 494.5 MB, free: 8.148 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat