Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008816/0.0008815, allocations: 100.9 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 63.47 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002191/0.148, allocations: 1.303 MB / 482.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1499, allocations: 1.078 MB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.15, allocations: 0 / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1502, allocations: 27.84 kB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1505, allocations: 59.83 kB / 484.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1508, allocations: 99.2 kB / 484.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.151, allocations: 59.81 kB / 484.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1511, allocations: 16 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.1511, allocations: 23.86 kB / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1513, allocations: 31.84 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1513, allocations: 0 / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.1515, allocations: 83.88 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.1516, allocations: 11.98 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1516, allocations: 33.64 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1518, allocations: 100.1 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1518, allocations: 8 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1518, allocations: 0 / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1518, allocations: 0 / 484.6 MB, free: 2.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006467/0.1525, allocations: 383.1 kB / 484.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1526, allocations: 12.03 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.1526, allocations: 30.56 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.1527, allocations: 7.906 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1529, allocations: 193.8 kB / 485.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.153, allocations: 11.94 kB / 485.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.153, allocations: 7.938 kB / 485.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1532, allocations: 67.39 kB / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1532, allocations: 0 / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1533, allocations: 0 / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1533, allocations: 0 / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1534, allocations: 27.98 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1538, allocations: 292.8 kB / 485.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.1541, allocations: 46.56 kB / 485.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.1541, allocations: 24.92 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1542, allocations: 0 / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.1542, allocations: 30.56 kB / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1542, allocations: 0 / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006308/0.1549, allocations: 173.2 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.155, allocations: 81.06 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1552, allocations: 144.4 kB / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1552, allocations: 29.7 kB / 486.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1553, allocations: 92.12 kB / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1553, allocations: 15.81 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1553, allocations: 4 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1555, allocations: 318.8 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.1556, allocations: 23.98 kB / 486.5 MB, free: 136 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.1557, allocations: 41.64 kB / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.943e-05/0.1557, allocations: 36 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1558, allocations: 3.938 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001998/0.156, allocations: 85.58 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.156, allocations: 4 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.156, allocations: 4 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.156, allocations: 4 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.1561, allocations: 15.98 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.1561, allocations: 7.953 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.1562, allocations: 4 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1562, allocations: 4.234 kB / 486.7 MB, free: 15.91 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 (5): * Single equations (assignments): 5 * 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.000114/0.1563, allocations: 117.8 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.1564, allocations: 11.91 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.1566, allocations: 109.9 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1567, allocations: 3.938 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.1567, allocations: 3.984 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1567, allocations: 3.953 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.1572, allocations: 366.4 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1572, allocations: 0 / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.1573, allocations: 19.98 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1573, allocations: 0 / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1573, allocations: 0 / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1573, allocations: 7.953 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1573, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.1576, allocations: 187.5 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.1577, allocations: 93 kB / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1577, allocations: 0 / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.1578, allocations: 8 kB / 487.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1579, allocations: 11.94 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1579, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.158, allocations: 117.4 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.158, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.1583, allocations: 32 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00171/0.16, allocations: 1.111 MB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1602, allocations: 63.91 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1603, allocations: 0 / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.1603, allocations: 31.97 kB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1607, allocations: 15.95 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1618, allocations: 0.5785 MB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1621, allocations: 0.6926 MB / 490.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.041e-05/0.1622, allocations: 11.98 kB / 490.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.1622, allocations: 27.42 kB / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1623, allocations: 0 / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.1792, allocations: 2.801 MB / 493.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1794, allocations: 229.4 kB / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.011, allocations: 4 kB / 493.4 MB, free: 9.34 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat does not exist to compare? outputFormat=mat