Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001976, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.697/1.697, allocations: 227.4 MB / 247 MB, free: 10.41 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.2338/0.2338, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002221/0.002221, allocations: 91.84 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3963, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003186/0.3996, allocations: 1.648 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.4007, allocations: 0.5546 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.4008, allocations: 0 / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.4011, allocations: 93.92 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.4015, allocations: 114.2 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.4018, allocations: 96.05 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.402, allocations: 103.7 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.4022, allocations: 19 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.4022, allocations: 45.69 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.4024, allocations: 62.06 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.4024, allocations: 8.125 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4025, allocations: 46.23 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.4026, allocations: 30.86 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.4026, allocations: 42.48 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.4029, allocations: 127.1 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4029, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4029, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4029, allocations: 1.375 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006211/0.4035, allocations: 433 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4036, allocations: 13.28 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.4037, allocations: 40.11 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.4037, allocations: 19.25 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.404, allocations: 209.8 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.404, allocations: 2.688 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.404, allocations: 9.25 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4042, allocations: 72.55 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4042, allocations: 9.312 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4042, allocations: 3.938 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4043, allocations: 1.156 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4044, allocations: 47.44 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.4049, allocations: 323.9 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.405, allocations: 61.39 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.4051, allocations: 28.75 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4051, allocations: 1.125 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4051, allocations: 35.66 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.4052, allocations: 0 / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001049/0.4062, allocations: 317.2 kB / 0.5351 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.4063, allocations: 56.56 kB / 0.5352 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.4065, allocations: 242.5 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.4065, allocations: 26.92 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.4066, allocations: 115.1 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.4067, allocations: 48.09 kB / 0.5356 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.4067, allocations: 23.69 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4069, allocations: 330.9 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.407, allocations: 35.23 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.4071, allocations: 44.53 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.4073, allocations: 87.58 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4073, allocations: 0 / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002539/0.4075, allocations: 137 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4076, allocations: 5.469 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4076, allocations: 5.375 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4076, allocations: 3.938 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4077, allocations: 29.64 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4078, allocations: 0 / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.4078, allocations: 15.23 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4078, allocations: 4.5 kB / 0.5363 GB, free: 8.812 MB / 398.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.000152/0.408, allocations: 126.6 kB / 0.5364 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.408, allocations: 18.61 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.4084, allocations: 167.2 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4084, allocations: 1.094 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4084, allocations: 1.062 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4084, allocations: 0 / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.4091, allocations: 486.2 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4091, allocations: 0.9688 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.4092, allocations: 29.2 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.4092, allocations: 0 / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4092, allocations: 2.625 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4093, allocations: 1.5 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4093, allocations: 3.938 kB / 0.5371 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.4096, allocations: 251.3 kB / 0.5373 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.4097, allocations: 88.52 kB / 0.5374 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.4097, allocations: 5.219 kB / 0.5374 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.4098, allocations: 4.75 kB / 0.5374 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.4098, allocations: 8.547 kB / 0.5374 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4098, allocations: 3.188 kB / 0.5374 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.41, allocations: 183.2 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.41, allocations: 0 / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.4103, allocations: 22.91 kB / 0.5376 GB, free: 7.691 MB / 398.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.002213/0.4125, allocations: 1.131 MB / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.4128, allocations: 98.42 kB / 0.5388 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4128, allocations: 0 / 0.5388 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4129, allocations: 55.62 kB / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.4133, allocations: 27.3 kB / 0.5389 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.4156, allocations: 1.844 MB / 0.5407 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.416, allocations: 0.7218 MB / 0.5414 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.4161, allocations: 23.5 kB / 0.5414 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.4162, allocations: 39.92 kB / 0.5414 GB, free: 4.449 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4162, allocations: 0 / 0.5414 GB, free: 4.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.444, allocations: 3.533 MB / 0.5449 GB, free: 2.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.779, allocations: 7.391 kB / 0.5449 GB, free: 2.555 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)