Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008435/0.0008435, allocations: 96.31 kB / 17 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008557/0.0008557, 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.472/1.472, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002989, allocations: 4 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 63.47 MB / 481.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001982/0.1531, allocations: 1.307 MB / 482.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00083/0.154, allocations: 491.2 kB / 483.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.1541, allocations: 0 / 483.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1544, allocations: 127.7 kB / 483.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.1546, allocations: 111.7 kB / 483.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1548, allocations: 71.84 kB / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.155, allocations: 83.78 kB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.1551, allocations: 12 kB / 483.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.1552, allocations: 43.83 kB / 483.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1553, allocations: 67.78 kB / 483.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1553, allocations: 4 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.1554, allocations: 35.98 kB / 484 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.1554, allocations: 27.91 kB / 484 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1555, allocations: 41.58 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1556, allocations: 84.09 kB / 484.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1556, allocations: 4 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.232e-06/0.1557, allocations: 4 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1557, allocations: 7.938 kB / 484.1 MB, free: 2.777 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.0004844/0.1562, allocations: 414.7 kB / 484.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1562, allocations: 12.03 kB / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1562, allocations: 30.56 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1563, allocations: 15.81 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1565, allocations: 202.8 kB / 484.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.1565, allocations: 0 / 484.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1565, allocations: 8 kB / 484.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1566, allocations: 61.61 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1567, allocations: 0 / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1567, allocations: 4 kB / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1567, allocations: 0 / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.1568, allocations: 31.97 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1572, allocations: 308.7 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1573, allocations: 46.5 kB / 485.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.1574, allocations: 20.94 kB / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1574, allocations: 0 / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1574, allocations: 38.56 kB / 485.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.1574, allocations: 0 / 485.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008635/0.1583, allocations: 256.9 kB / 485.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1584, allocations: 51.41 kB / 485.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1586, allocations: 279.7 kB / 485.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1586, allocations: 29.7 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.1587, allocations: 120.1 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1588, allocations: 19.62 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.1588, allocations: 4 kB / 486 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1589, allocations: 330.8 kB / 486.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.159, allocations: 31.97 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.1591, allocations: 31.92 kB / 486.4 MB, free: 260 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.443e-05/0.1591, allocations: 31.98 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1591, allocations: 0 / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001975/0.1593, allocations: 109.6 kB / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1594, allocations: 8 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1594, allocations: 0 / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1594, allocations: 3.953 kB / 486.6 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1595, allocations: 19.98 kB / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1595, allocations: 0 / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.1596, allocations: 15.89 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1596, allocations: 3.938 kB / 486.6 MB, free: 60 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.0001598/0.1598, allocations: 145.7 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.1598, allocations: 11.91 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.1601, allocations: 131.2 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1601, allocations: 3.953 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1601, allocations: 4 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1601, allocations: 4.422 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.1606, allocations: 411.3 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1606, allocations: 8 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.1607, allocations: 31.91 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1607, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1607, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1607, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1608, allocations: 4 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.161, allocations: 220.2 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1611, allocations: 92.91 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1611, allocations: 3.953 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.1612, allocations: 4 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1612, allocations: 15.92 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1612, allocations: 4 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.1615, allocations: 208.1 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1615, allocations: 4 kB / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1617, allocations: 24 kB / 487.9 MB, free: 14.65 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.001537/0.1633, allocations: 1.089 MB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1635, allocations: 75.89 kB / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1635, allocations: 0 / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.1636, allocations: 43.92 kB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.164, allocations: 15.92 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1654, allocations: 0.9023 MB / 490 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.166, allocations: 0.7278 MB / 490.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.166, allocations: 8.656 kB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.1661, allocations: 39.42 kB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1661, allocations: 0 / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.1817, allocations: 2.935 MB / 493.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.182, allocations: 218.9 kB / 494 MB, free: 8.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.101, allocations: 4 kB / 494 MB, free: 8.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat