Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, 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.001393/0.001393, 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.502/1.502, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2219/0.2219, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002247/0.002247, allocations: 82.45 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1155, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003558/0.1191, allocations: 1.616 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1202, allocations: 0.5455 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.1203, allocations: 4 kB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.1207, allocations: 123.7 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.121, allocations: 127.5 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1214, allocations: 114.9 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1215, allocations: 91.86 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1216, allocations: 15.98 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.1217, allocations: 55.77 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1219, allocations: 87.77 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1219, allocations: 4 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.122, allocations: 40 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.1221, allocations: 31.84 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.1221, allocations: 35.69 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1223, allocations: 123.9 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1223, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1223, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1223, allocations: 0 / 483.2 MB, free: 2.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004857/0.1228, allocations: 442.7 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1229, allocations: 8.031 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.1229, allocations: 42.73 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.123, allocations: 16.75 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1232, allocations: 208 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1232, allocations: 4.312 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1232, allocations: 4.375 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1234, allocations: 57.61 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1234, allocations: 3.984 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1234, allocations: 4 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1234, allocations: 3.938 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.1235, allocations: 27.92 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.124, allocations: 308.7 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1241, allocations: 54.55 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.1242, allocations: 20.8 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1242, allocations: 0 / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1242, allocations: 34.64 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.066e-06/0.1243, allocations: 3.984 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008739/0.1251, allocations: 249 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1252, allocations: 51.41 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1254, allocations: 279.7 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1255, allocations: 25.7 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1255, allocations: 116.1 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.1256, allocations: 31.69 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.1256, allocations: 25.72 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1258, allocations: 330.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.1259, allocations: 31.97 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.126, allocations: 23.98 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1261, allocations: 76.75 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1261, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002194/0.1264, allocations: 121.8 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1264, allocations: 4 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1264, allocations: 0 / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1264, allocations: 0 / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.1265, allocations: 19.98 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1265, allocations: 3.938 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.1266, allocations: 15.83 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1266, allocations: 0 / 485.8 MB, free: 15.31 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 0.0001023/0.1267, allocations: 141.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.1267, allocations: 11.91 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.127, allocations: 138.8 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.127, allocations: 3.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.127, allocations: 7.938 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1271, allocations: 0 / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.1276, allocations: 435.3 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1276, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.1277, allocations: 23.88 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1277, allocations: 3.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.1277, allocations: 3.984 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1277, allocations: 4 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1277, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.128, allocations: 212.2 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.128, allocations: 92.86 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1281, allocations: 7.984 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.1281, allocations: 4 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1282, allocations: 4 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1282, allocations: 7.984 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1284, allocations: 213.5 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.1284, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1286, allocations: 23.94 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.00196/0.1306, allocations: 1.094 MB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1308, allocations: 79.88 kB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1308, allocations: 4 kB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.1309, allocations: 43.91 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1313, allocations: 25.61 kB / 488.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1332, allocations: 1.836 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1335, allocations: 0.7197 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.1336, allocations: 16.97 kB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.1336, allocations: 47.41 kB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1336, allocations: 0 / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.1662, allocations: 3.358 MB / 494.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.486, allocations: 20.33 kB / 494.4 MB, free: 6.746 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1)