Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2486/0.2486, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 84.72 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1454, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003417/0.1489, allocations: 1.6 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1499, allocations: 0.526 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.15, allocations: 7.938 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1503, allocations: 23.86 kB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1506, allocations: 83.62 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1509, allocations: 86.77 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.151, allocations: 63.83 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1512, allocations: 11.98 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.1512, allocations: 23.86 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.1513, allocations: 19.88 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1513, allocations: 0 / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.1514, allocations: 39.97 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.1515, allocations: 11.98 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.1515, allocations: 23.75 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1517, allocations: 76.08 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1517, allocations: 0 / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1517, allocations: 0 / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1517, allocations: 0 / 482.8 MB, free: 2.539 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.0005194/0.1522, allocations: 391.1 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1523, allocations: 8.031 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1523, allocations: 38.75 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.1524, allocations: 12.83 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1526, allocations: 184.2 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1526, allocations: 4.375 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1526, allocations: 384 / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1528, allocations: 57.55 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1528, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.1528, allocations: 4 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1528, allocations: 0 / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.1529, allocations: 19.98 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1533, allocations: 276.9 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1536, allocations: 42.5 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.1536, allocations: 16.94 kB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1537, allocations: 0 / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1537, allocations: 38.56 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1537, allocations: 0 / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005897/0.1543, allocations: 145.2 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1544, allocations: 55.41 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1545, allocations: 152.2 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1546, allocations: 33.64 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1546, allocations: 96.12 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1547, allocations: 15.8 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1547, allocations: 17.72 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1549, allocations: 322.8 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.1549, allocations: 19.98 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.155, allocations: 19.98 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1551, allocations: 52.7 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1551, allocations: 0 / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001877/0.1553, allocations: 81.58 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1554, allocations: 6.656 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1554, allocations: 0 / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1554, allocations: 4 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.1555, allocations: 11.98 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1555, allocations: 0 / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.1555, allocations: 15.92 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1555, allocations: 3.938 kB / 484.9 MB, free: 212 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.1556, allocations: 117.8 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1557, allocations: 4.188 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.156, allocations: 93.91 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.156, allocations: 7.984 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.156, allocations: 4 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.156, allocations: 0 / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.1565, allocations: 350.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1565, allocations: 4.062 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1566, allocations: 11.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1566, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1566, allocations: 4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1566, allocations: 3.938 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1567, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.157, allocations: 175.4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.157, allocations: 81.09 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.157, allocations: 4 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.1571, allocations: 3.938 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1572, allocations: 11.92 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1572, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1573, allocations: 117.8 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1573, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1576, allocations: 23.89 kB / 485.9 MB, free: 15.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/0.1597, allocations: 1.002 MB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1599, allocations: 51.89 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1599, allocations: 0 / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.16, allocations: 23.98 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1605, allocations: 22.44 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1623, allocations: 1.43 MB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1627, allocations: 0.6885 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.1628, allocations: 20.05 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.1629, allocations: 19.44 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1629, allocations: 0 / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.1895, allocations: 2.474 MB / 491.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.153, allocations: 12.09 kB / 491.6 MB, free: 9.434 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)