Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 104.4 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.002195/0.002195, 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.469/1.469, 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.2249/0.2249, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002219/0.002219, allocations: 86.31 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002964/0.1216, allocations: 1.614 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1233, allocations: 1.163 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.1233, allocations: 0 / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.1235, allocations: 23.84 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1238, allocations: 83.61 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.124, allocations: 94.7 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1242, allocations: 75.83 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1243, allocations: 16 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.1244, allocations: 31.84 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.1279, allocations: 43.83 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.128, allocations: 4 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.1283, allocations: 99.88 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.1284, allocations: 19.92 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.1284, allocations: 27.81 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.1288, allocations: 147.9 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1288, allocations: 4 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1288, allocations: 0 / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1288, allocations: 3.938 kB / 483.7 MB, free: 1.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005688/0.1294, allocations: 407.1 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1294, allocations: 12.03 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1295, allocations: 38.73 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.1295, allocations: 8.844 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1298, allocations: 184.3 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1298, allocations: 12.36 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1298, allocations: 12.28 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.13, allocations: 71.33 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.13, allocations: 3.938 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.13, allocations: 4 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-06/0.1301, allocations: 3.938 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1302, allocations: 31.97 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.1307, allocations: 304.8 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1308, allocations: 50.5 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.1309, allocations: 20.97 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1309, allocations: 0 / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.131, allocations: 34.56 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.131, allocations: 4 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000722/0.1317, allocations: 177.3 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.1318, allocations: 77.11 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.132, allocations: 164 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.132, allocations: 25.7 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.1321, allocations: 92.14 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1321, allocations: 31.64 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.1322, allocations: 17.72 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1323, allocations: 322.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.1324, allocations: 19.98 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.1325, allocations: 46.06 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1326, allocations: 68.8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1327, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002195/0.1329, allocations: 97.56 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.1329, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.1329, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1329, allocations: 4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.133, allocations: 15.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.133, allocations: 3.938 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.1331, allocations: 19.89 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1331, allocations: 4 kB / 486 MB, free: 15.07 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 (8): * Single equations (assignments): 8 * 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 8.367e-05/0.1332, allocations: 117.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.1333, allocations: 11.89 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.1335, allocations: 118.6 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1335, allocations: 3.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1335, allocations: 3.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1336, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1341, allocations: 394.4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1341, allocations: 3.938 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.1342, allocations: 12 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1342, allocations: 7.938 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1342, allocations: 7.984 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1342, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1342, allocations: 4 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1345, allocations: 195.4 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.1345, allocations: 84.95 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1346, allocations: 4 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.1346, allocations: 8 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.1347, allocations: 3.984 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1347, allocations: 8 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1348, allocations: 117.6 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1351, allocations: 47.98 kB / 487.1 MB, free: 13.83 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 (8): * Single equations (assignments): 8 * 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.00209/0.1372, allocations: 1.105 MB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1374, allocations: 71.94 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1374, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.1375, allocations: 35.92 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1379, allocations: 29.98 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1396, allocations: 1.5 MB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1399, allocations: 0.6963 MB / 490.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.1399, allocations: 16.73 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.14, allocations: 35.41 kB / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.14, allocations: 0 / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.1662, allocations: 3.326 MB / 493.9 MB, free: 7.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.253, allocations: 9.062 kB / 493.9 MB, free: 7.113 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1)