Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2354/0.2354, allocations: 46.11 MB / 344.2 MB, free: 11.55 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: 81.3 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1102, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003149/0.1134, allocations: 1.665 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1151, allocations: 1.179 MB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.1152, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.1154, allocations: 23.86 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1157, allocations: 91.61 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.116, allocations: 131.1 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1162, allocations: 71.78 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.1163, allocations: 15.98 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.1163, allocations: 31.91 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1165, allocations: 35.78 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1165, allocations: 8 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.1167, allocations: 99.88 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.1168, allocations: 15.92 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.1168, allocations: 31.8 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1171, allocations: 155.8 kB / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1171, allocations: 0 / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1171, allocations: 3.938 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1171, allocations: 0 / 483.8 MB, free: 1.551 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.0005817/0.1177, allocations: 415.2 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1177, allocations: 8.031 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1178, allocations: 42.69 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1178, allocations: 8.844 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.118, allocations: 196.1 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.118, allocations: 4.375 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1181, allocations: 4.375 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1182, allocations: 83.25 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1183, allocations: 4 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1183, allocations: 0 / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1183, allocations: 0 / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1184, allocations: 31.97 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.1188, allocations: 292.8 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.119, allocations: 50.59 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.119, allocations: 28.83 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1191, allocations: 0 / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1191, allocations: 34.56 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1191, allocations: 0 / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008079/0.1199, allocations: 213.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.12, allocations: 81.11 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1202, allocations: 160.2 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1202, allocations: 29.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.1203, allocations: 92.14 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1203, allocations: 23.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1204, allocations: 21.72 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1205, allocations: 318.8 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1206, allocations: 31.97 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1208, allocations: 49.69 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.121, allocations: 80.73 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.121, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000288/0.1213, allocations: 105.5 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1213, allocations: 8 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1213, allocations: 4.031 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1213, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1215, allocations: 23.98 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1215, allocations: 0 / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.1216, allocations: 23.8 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1216, allocations: 4 kB / 486.2 MB, free: 14.88 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 (7): * Single equations (assignments): 7 * 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.73e-05/0.1217, allocations: 121.7 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.1217, allocations: 11.91 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.1221, allocations: 134.6 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1221, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1221, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1221, allocations: 3.938 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.1227, allocations: 402.3 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1227, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.1228, allocations: 23.97 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1228, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1228, allocations: 7.938 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1228, allocations: 0 / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1228, allocations: 0 / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1232, allocations: 211.3 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1232, allocations: 89 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1233, allocations: 7.938 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.1234, allocations: 7.984 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.1234, allocations: 4 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.1234, allocations: 4 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1235, allocations: 121.3 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1235, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1238, allocations: 43.98 kB / 487.3 MB, free: 13.6 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 (7): * Single equations (assignments): 7 * 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.002191/0.126, allocations: 1.12 MB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.1264, allocations: 87.88 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1264, allocations: 0 / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1265, allocations: 39.91 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1268, allocations: 26.92 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.129, allocations: 1.582 MB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1294, allocations: 0.6924 MB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.957e-05/0.1295, allocations: 24.98 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.1296, allocations: 31.42 kB / 490.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1296, allocations: 4 kB / 490.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.1557, allocations: 3.424 MB / 494.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.207, allocations: 12.64 kB / 494.4 MB, free: 6.664 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1)