Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001187, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.231/0.231, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002304/0.002304, allocations: 77.69 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1548, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.00379/0.1587, allocations: 1.588 MB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1608, allocations: 1.156 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.1609, allocations: 3.938 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1612, allocations: 19.86 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1616, allocations: 87.61 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1619, allocations: 94.83 kB / 483.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.162, allocations: 59.91 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1622, allocations: 7.984 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.1622, allocations: 35.84 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1624, allocations: 31.8 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1625, allocations: 4 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.1627, allocations: 99.94 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.1628, allocations: 15.97 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.1628, allocations: 19.81 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.1632, allocations: 139.9 kB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1632, allocations: 0 / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1632, allocations: 0 / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1632, allocations: 0 / 483.6 MB, free: 1.77 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.0006368/0.1638, allocations: 407.1 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1639, allocations: 16.03 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1639, allocations: 34.73 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.164, allocations: 12.78 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.1643, allocations: 192.2 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.1643, allocations: 384 / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.1643, allocations: 8.312 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1645, allocations: 63.34 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1645, allocations: 0 / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1645, allocations: 4 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1645, allocations: 4 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1646, allocations: 27.97 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.165, allocations: 268.9 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1653, allocations: 42.5 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.1654, allocations: 24.94 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1654, allocations: 0 / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1654, allocations: 34.56 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1654, allocations: 0 / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006012/0.166, allocations: 149.2 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.1661, allocations: 81.11 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1663, allocations: 152.4 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1663, allocations: 25.7 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.1664, allocations: 92.14 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1665, allocations: 19.69 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1665, allocations: 21.72 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1667, allocations: 322.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.1667, allocations: 15.98 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.1668, allocations: 41.64 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.167, allocations: 44.83 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.167, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001864/0.1672, allocations: 77.67 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1672, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1672, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1672, allocations: 4.031 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.1673, allocations: 15.98 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1673, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.1674, allocations: 15.83 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1674, allocations: 3.938 kB / 485.7 MB, free: 15.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1675, allocations: 113.8 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.1675, allocations: 4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1678, allocations: 98.06 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1678, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1678, allocations: 4.062 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1678, allocations: 3.938 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.1683, allocations: 354.5 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1683, allocations: 3.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.1684, allocations: 8 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1684, allocations: 8 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1684, allocations: 7.922 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1684, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1684, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1687, allocations: 175.4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.1687, allocations: 85.09 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.1688, allocations: 7.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1688, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1689, allocations: 7.938 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1689, allocations: 7.984 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.169, allocations: 109.6 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.169, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1693, allocations: 35.98 kB / 486.8 MB, free: 14.22 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.002203/0.1715, allocations: 1.086 MB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1717, allocations: 63.78 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1718, allocations: 0 / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.1718, allocations: 27.97 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.1722, allocations: 20.81 kB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1741, allocations: 1.413 MB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1745, allocations: 0.6924 MB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.1745, allocations: 16.2 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.1746, allocations: 23.42 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1746, allocations: 0 / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.2047, allocations: 3.151 MB / 493.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.242, allocations: 13.06 kB / 493.3 MB, free: 7.832 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1)