Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, 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.002219/0.002219, 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.486/1.486, 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.2463/0.2463, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002117/0.002117, allocations: 75.86 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.108, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003133/0.1111, allocations: 1.675 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1123, allocations: 0.5805 MB / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.1123, allocations: 4 kB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1126, allocations: 59.72 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1129, allocations: 99.61 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.1134, allocations: 186.9 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1136, allocations: 83.77 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1137, allocations: 24.22 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.1138, allocations: 39.84 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.1139, allocations: 35.84 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1139, allocations: 4 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.114, allocations: 59.95 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.1141, allocations: 23.92 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.1142, allocations: 35.75 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1144, allocations: 127.8 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1144, allocations: 0 / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1144, allocations: 3.938 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1144, allocations: 0 / 483.2 MB, free: 2.086 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005895/0.115, allocations: 422.9 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1151, allocations: 8.031 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.1151, allocations: 38.73 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1151, allocations: 12.84 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1154, allocations: 200.8 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1154, allocations: 384 / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.1154, allocations: 8.375 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1156, allocations: 73.53 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1156, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1157, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1157, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1158, allocations: 47.91 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.1163, allocations: 332.6 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.1166, allocations: 54.55 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.1167, allocations: 28.97 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1167, allocations: 7.984 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1167, allocations: 30.56 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 4.859e-06/0.1168, allocations: 96 / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001524/0.1183, allocations: 433 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1183, allocations: 59.41 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1186, allocations: 199.4 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1186, allocations: 25.7 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.1187, allocations: 112 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1187, allocations: 31.55 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1188, allocations: 21.72 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.119, allocations: 326.8 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1191, allocations: 56.14 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1193, allocations: 55.89 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.1197, allocations: 128.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1197, allocations: 3.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003763/0.1201, allocations: 173.4 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1201, allocations: 4 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1201, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1201, allocations: 7.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1203, allocations: 27.92 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.1203, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.1203, allocations: 15.92 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1204, allocations: 4 kB / 486.1 MB, free: 14.96 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 (11): * Single equations (assignments): 11 * 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.0001131/0.1205, allocations: 137.8 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.1205, allocations: 11.81 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.121, allocations: 187.4 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.121, allocations: 7.938 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.121, allocations: 0 / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.121, allocations: 4 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.1218, allocations: 0.5039 MB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1218, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.1219, allocations: 23.98 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1219, allocations: 4.062 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1219, allocations: 7.938 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1219, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1219, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.1223, allocations: 280.9 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.1224, allocations: 93 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1225, allocations: 4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.1226, allocations: 7.984 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.1226, allocations: 19.92 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1226, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1228, allocations: 147.9 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1228, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.123, allocations: 31.91 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002195/0.1252, allocations: 1.153 MB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.1256, allocations: 143.8 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1256, allocations: 0 / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.1258, allocations: 67.89 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1262, allocations: 25.59 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1285, allocations: 1.907 MB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1289, allocations: 0.7158 MB / 491.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.263e-05/0.129, allocations: 32.53 kB / 491.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.1291, allocations: 39.42 kB / 491.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1291, allocations: 0 / 491.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1218/0.2508, allocations: 3.451 MB / 495.1 MB, free: 5.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.333, allocations: 3.266 kB / 495.1 MB, free: 5.965 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1)