Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.00136, allocations: 103.1 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.001352/0.001352, 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.479/1.479, 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.2378/0.2378, 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.002245/0.002245, allocations: 73.2 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1021, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002863/0.105, allocations: 1.595 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.106, allocations: 0.5455 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.106, allocations: 0 / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1062, allocations: 27.78 kB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1065, allocations: 79.62 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1068, allocations: 107.7 kB / 482.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1069, allocations: 67.83 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1071, allocations: 15.98 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.1071, allocations: 23.86 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.1072, allocations: 23.88 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1072, allocations: 0 / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.1073, allocations: 31.98 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1073, allocations: 19.97 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.1074, allocations: 23.81 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1076, allocations: 84 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1076, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1076, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1076, allocations: 0 / 482.8 MB, free: 2.488 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.0005024/0.1081, allocations: 391.1 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1081, allocations: 8.031 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.1082, allocations: 34.75 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.1082, allocations: 8.844 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1084, allocations: 198.2 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1085, allocations: 384 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1085, allocations: 384 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1086, allocations: 49.62 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1086, allocations: 0 / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1087, allocations: 4 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1087, allocations: 8 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1088, allocations: 27.91 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.1092, allocations: 280.8 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1094, allocations: 46.55 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.1094, allocations: 16.86 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1095, allocations: 11.88 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1095, allocations: 30.56 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1095, allocations: 0 / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005551/0.1101, allocations: 157.2 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1101, allocations: 63.34 kB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1103, allocations: 165.1 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1103, allocations: 25.7 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1104, allocations: 100.1 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.1104, allocations: 15.75 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.1105, allocations: 21.7 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1106, allocations: 314.8 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.1107, allocations: 23.97 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.1108, allocations: 23.98 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1109, allocations: 52.83 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1109, allocations: 0 / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001936/0.1111, allocations: 97.69 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1111, allocations: 4 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1111, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1112, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.1112, allocations: 19.98 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1113, allocations: 3.938 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.1113, allocations: 0 / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1113, allocations: 4 kB / 485 MB, free: 100 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 0.0001093/0.1114, allocations: 117.8 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.1115, allocations: 7.906 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1117, allocations: 101.9 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1117, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1117, allocations: 3.938 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1117, allocations: 7.984 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.1122, allocations: 350.5 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1122, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.1122, allocations: 16 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1123, allocations: 7.922 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1123, allocations: 4 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1123, allocations: 7.922 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1123, allocations: 3.938 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1125, allocations: 183.3 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.1126, allocations: 81.11 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1126, allocations: 4.188 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.1127, allocations: 12 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.1127, allocations: 7.984 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1127, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.382e-05/0.1128, allocations: 127.2 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1128, allocations: 0 / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1131, allocations: 15.91 kB / 486 MB, free: 14.95 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.001768/0.1148, allocations: 1.022 MB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.115, allocations: 51.95 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.115, allocations: 4 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.1151, allocations: 28.05 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1155, allocations: 23.11 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1171, allocations: 1.484 MB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1174, allocations: 0.6963 MB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.048e-05/0.1174, allocations: 11.98 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.1175, allocations: 27.42 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1175, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.1531, allocations: 2.548 MB / 491.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.393, allocations: 18.28 kB / 491.9 MB, free: 9.129 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1)