Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001605/0.001605, 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.001902/0.001902, 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.509/1.509, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2421/0.2421, 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.002491/0.002491, allocations: 74.78 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1035, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003114/0.1066, allocations: 1.645 MB / 481.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1077, allocations: 0.5532 MB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.1078, allocations: 4 kB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1081, allocations: 95.67 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1085, allocations: 115.6 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1089, allocations: 118.8 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1091, allocations: 99.73 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1092, allocations: 32.27 kB / 482.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.1093, allocations: 39.83 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1094, allocations: 59.83 kB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1094, allocations: 8 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1096, allocations: 51.97 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.1096, allocations: 23.92 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1097, allocations: 47.61 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1099, allocations: 131.5 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1099, allocations: 4 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1099, allocations: 0 / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1099, allocations: 4 kB / 483.2 MB, free: 2.113 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005264/0.1105, allocations: 426.8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1105, allocations: 12.03 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.1106, allocations: 38.73 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1106, allocations: 12.84 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1108, allocations: 204 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1109, allocations: 12.25 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1109, allocations: 4.375 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1111, allocations: 81.59 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1111, allocations: 4 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1111, allocations: 0 / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1111, allocations: 8 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1112, allocations: 39.97 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.1118, allocations: 352.5 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1119, allocations: 58.56 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.112, allocations: 32.84 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.112, allocations: 3.938 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1121, allocations: 34.55 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1121, allocations: 4 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001106/0.1132, allocations: 345.3 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1132, allocations: 51.41 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1135, allocations: 240.4 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1135, allocations: 25.7 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.1136, allocations: 116 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.1136, allocations: 43.3 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.1137, allocations: 33.7 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1138, allocations: 322.8 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1139, allocations: 43.97 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.114, allocations: 52.09 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1143, allocations: 107.9 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1143, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002837/0.1146, allocations: 161.4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1146, allocations: 4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1146, allocations: 3.938 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1146, allocations: 7.984 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1148, allocations: 27.97 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1148, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1148, allocations: 8 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1148, allocations: 4 kB / 486.1 MB, free: 15.01 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 (13): * Single equations (assignments): 13 * 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.000115/0.115, allocations: 141.8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.115, allocations: 15.81 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.1154, allocations: 187.1 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1154, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1154, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1154, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.1161, allocations: 0.5029 MB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1161, allocations: 0 / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.1162, allocations: 23.98 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1162, allocations: 3.938 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1163, allocations: 8 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1163, allocations: 0 / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1163, allocations: 3.984 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.1166, allocations: 261.9 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.1167, allocations: 88.92 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1167, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/0.1168, allocations: 7.984 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.1168, allocations: 19.92 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.1168, allocations: 4 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.117, allocations: 181.2 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.117, allocations: 0 / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1173, allocations: 27.98 kB / 487.6 MB, free: 13.45 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 (13): * Single equations (assignments): 13 * 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.002114/0.1194, allocations: 1.123 MB / 488.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1197, allocations: 135.3 kB / 488.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1197, allocations: 0 / 488.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1198, allocations: 63.91 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1202, allocations: 29.59 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.1224, allocations: 1.904 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1228, allocations: 0.7275 MB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.093e-05/0.1229, allocations: 20.55 kB / 491.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.123, allocations: 43.42 kB / 491.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.123, allocations: 0 / 491.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.1616, allocations: 3.529 MB / 495.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.307, allocations: 13.05 kB / 495.1 MB, free: 5.965 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1)