Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001701/0.001701, allocations: 106 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.001984/0.001984, 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.608/1.608, 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.2102/0.2102, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002035/0.002035, allocations: 83 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1013, allocations: 62.44 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003142/0.1045, allocations: 1.592 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.1055, allocations: 0.5339 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.1055, allocations: 4 kB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1057, allocations: 31.77 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.106, allocations: 87.56 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1063, allocations: 106.7 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1064, allocations: 63.89 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1065, allocations: 19.98 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.1066, allocations: 19.88 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.1067, allocations: 31.78 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1067, allocations: 4 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.1068, allocations: 31.98 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.1068, allocations: 11.98 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.1069, allocations: 27.75 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.107, allocations: 84.06 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.107, allocations: 0 / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1071, allocations: 4 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1071, allocations: 0 / 482.9 MB, free: 2.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004821/0.1076, allocations: 399 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1076, allocations: 8.031 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1076, allocations: 38.69 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.1077, allocations: 8.844 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1079, allocations: 199.7 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1079, allocations: 4.125 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.1079, allocations: 4 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1081, allocations: 45.69 kB / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1081, allocations: 4 kB / 483.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1081, allocations: 0 / 483.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1081, allocations: 0 / 483.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.1082, allocations: 27.97 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.1086, allocations: 284.8 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1088, allocations: 50.55 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.1089, allocations: 16.86 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.1089, allocations: 0 / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1089, allocations: 34.64 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1089, allocations: 0 / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005307/0.1094, allocations: 157.4 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.1095, allocations: 55.39 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1097, allocations: 175.8 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1097, allocations: 29.7 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1098, allocations: 104 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1098, allocations: 19.69 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1098, allocations: 13.72 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.11, allocations: 326.8 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.1101, allocations: 19.98 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.1101, allocations: 19.98 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1103, allocations: 64.94 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1103, allocations: 0 / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001885/0.1105, allocations: 85.58 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1105, allocations: 8 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1105, allocations: 0 / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1105, allocations: 3.938 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.1106, allocations: 15.92 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1106, allocations: 7.922 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.1107, allocations: 7.984 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1107, allocations: 4 kB / 485 MB, free: 40 kB / 350.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 (5): * Single equations (assignments): 5 * 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.64e-05/0.1108, allocations: 113.8 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1108, allocations: 15.91 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.1111, allocations: 97.95 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1111, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1111, allocations: 7.938 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1111, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.1115, allocations: 354.5 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1116, allocations: 7.984 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.1116, allocations: 8 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.1116, allocations: 3.938 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1116, allocations: 0 / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1117, allocations: 0 / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1117, allocations: 4 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1119, allocations: 199.5 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.112, allocations: 85 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.112, allocations: 3.938 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.1121, allocations: 4 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.1121, allocations: 4 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1121, allocations: 3.984 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1122, allocations: 138.5 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1122, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1125, allocations: 12 kB / 486.1 MB, free: 14.89 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 (5): * Single equations (assignments): 5 * 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.001787/0.1143, allocations: 1.028 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1145, allocations: 47.95 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.1145, allocations: 11.94 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.1146, allocations: 27.92 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1149, allocations: 18.22 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1166, allocations: 1.513 MB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1169, allocations: 0.7041 MB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.117, allocations: 12.06 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.117, allocations: 23.42 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.117, allocations: 0 / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1395, allocations: 2.612 MB / 492.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.155, allocations: 11.81 kB / 492.1 MB, free: 8.977 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1)