Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, 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.001559/0.001559, 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.638/1.638, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2081/0.2081, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.002078/0.002079, allocations: 81.08 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1189, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003025/0.1219, allocations: 1.588 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.1229, allocations: 0.5339 MB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.123, allocations: 3.938 kB / 482.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.1232, allocations: 35.83 kB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.1235, allocations: 83.56 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1238, allocations: 106.7 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1239, allocations: 67.83 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.124, allocations: 11.98 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.124, allocations: 27.86 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.1241, allocations: 15.88 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1241, allocations: 4 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.1242, allocations: 35.98 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.1243, allocations: 15.97 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1243, allocations: 31.69 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1245, allocations: 84.06 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1245, allocations: 0 / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1245, allocations: 0 / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1245, allocations: 4 kB / 482.9 MB, free: 2.445 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.0004815/0.125, allocations: 399 kB / 483.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.125, allocations: 12.03 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.1251, allocations: 30.75 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.1251, allocations: 8.844 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1253, allocations: 195.7 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1253, allocations: 8.125 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1253, allocations: 4 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1255, allocations: 53.62 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1255, allocations: 0 / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1255, allocations: 0 / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1255, allocations: 0 / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.1256, allocations: 27.97 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.126, allocations: 288.8 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1262, allocations: 46.5 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.1262, allocations: 20.94 kB / 483.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1263, allocations: 0 / 483.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1263, allocations: 34.56 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1263, allocations: 0 / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005336/0.1268, allocations: 153.3 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1269, allocations: 51.41 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1271, allocations: 178.4 kB / 484.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1271, allocations: 25.7 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.1272, allocations: 108 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1272, allocations: 11.75 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1272, allocations: 21.72 kB / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1274, allocations: 322.8 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.1274, allocations: 19.98 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.1275, allocations: 23.97 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1277, allocations: 60.95 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1277, allocations: 0 / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001939/0.1279, allocations: 89.84 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1279, allocations: 8 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1279, allocations: 0 / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1279, allocations: 0 / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.128, allocations: 15.94 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.128, allocations: 7.922 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.128, allocations: 3.984 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.128, allocations: 4 kB / 485 MB, free: 24 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.71e-05/0.1281, allocations: 121.8 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1282, allocations: 11.91 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.1284, allocations: 101.9 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1284, allocations: 0 / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1284, allocations: 3.938 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1285, allocations: 3.984 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.1289, allocations: 358.5 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1289, allocations: 4 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.129, allocations: 8 kB / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.129, allocations: 7.922 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.129, allocations: 4 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.129, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.129, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1293, allocations: 187.5 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.1293, allocations: 85.02 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1293, allocations: 11.94 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.1294, allocations: 3.938 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1294, allocations: 7.984 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1294, allocations: 3.938 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1296, allocations: 138.3 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1296, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1298, allocations: 12 kB / 486.1 MB, free: 14.87 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.00174/0.1315, allocations: 1.014 MB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1317, allocations: 59.89 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1318, allocations: 4 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1318, allocations: 23.98 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1321, allocations: 18.05 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.1338, allocations: 1.521 MB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1341, allocations: 0.7002 MB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.1341, allocations: 11.98 kB / 489.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.1342, allocations: 27.42 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1342, allocations: 0 / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/0.3867, allocations: 2.613 MB / 492.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.59, allocations: 9.125 kB / 492.1 MB, free: 8.957 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1)