Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001376, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.46 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.2449/0.2449, 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.002541/0.002541, allocations: 71.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4019, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003123/0.405, allocations: 1.602 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.4068, allocations: 1.153 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.4069, allocations: 0 / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.4071, allocations: 16.05 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.4074, allocations: 87.08 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.4077, allocations: 89.97 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.4079, allocations: 74.56 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.408, allocations: 15.12 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.605e-05/0.4081, allocations: 21.7 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.4082, allocations: 37.45 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.4083, allocations: 4.125 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.4085, allocations: 100.1 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.4085, allocations: 14.67 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.4086, allocations: 27.98 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.4089, allocations: 138.1 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4089, allocations: 1.375 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4089, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4089, allocations: 0 / 0.5339 GB, free: 10.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006403/0.4096, allocations: 403.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4096, allocations: 9.625 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.4097, allocations: 36.11 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.4097, allocations: 7.641 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.41, allocations: 205.8 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.41, allocations: 1.75 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.4101, allocations: 1.75 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4103, allocations: 67.72 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4103, allocations: 3.938 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.4103, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.4103, allocations: 3.938 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.4104, allocations: 25.72 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.4109, allocations: 274.8 kB / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.4111, allocations: 44.38 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.4112, allocations: 23.8 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.4112, allocations: 0 / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4113, allocations: 35.94 kB / 0.535 GB, free: 9.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.4113, allocations: 0 / 0.535 GB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005857/0.4119, allocations: 141.9 kB / 0.5351 GB, free: 9.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.412, allocations: 77.11 kB / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.4121, allocations: 149.4 kB / 0.5354 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4122, allocations: 25.7 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.4122, allocations: 100.2 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.4123, allocations: 17.22 kB / 0.5355 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.4123, allocations: 19.22 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4125, allocations: 324.1 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.4125, allocations: 18.98 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.4126, allocations: 30.08 kB / 0.5359 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.4128, allocations: 48.95 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4128, allocations: 0 / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.413, allocations: 87.53 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.413, allocations: 5.812 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.413, allocations: 0 / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.413, allocations: 0.875 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.4131, allocations: 13.33 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4131, allocations: 5.203 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.4132, allocations: 14.77 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.4132, allocations: 1.5 kB / 0.536 GB, free: 8.699 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 (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 8.877e-05/0.4133, allocations: 113.6 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.4133, allocations: 9.109 kB / 0.5362 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4135, allocations: 92.09 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4136, allocations: 1.156 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4136, allocations: 0 / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4136, allocations: 9.188 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.4141, allocations: 350.3 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4141, allocations: 3.938 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.4141, allocations: 12.97 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4141, allocations: 1.281 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4142, allocations: 8.984 kB / 0.5366 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4142, allocations: 0 / 0.5366 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4142, allocations: 1.094 kB / 0.5366 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.4144, allocations: 175.1 kB / 0.5368 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.4145, allocations: 87.3 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4145, allocations: 5.125 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.4146, allocations: 3.625 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4147, allocations: 5.062 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.4147, allocations: 6.172 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.4148, allocations: 113.8 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4148, allocations: 0 / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.4151, allocations: 39.83 kB / 0.537 GB, free: 7.75 MB / 398.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.002163/0.4173, allocations: 1.096 MB / 0.5381 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.4175, allocations: 52.12 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4175, allocations: 0 / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.4176, allocations: 31.69 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4179, allocations: 15.56 kB / 0.5382 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.4197, allocations: 1.433 MB / 0.5396 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.4201, allocations: 0.6925 MB / 0.5403 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.4202, allocations: 19.2 kB / 0.5403 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.4202, allocations: 29.8 kB / 0.5403 GB, free: 4.785 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4202, allocations: 0 / 0.5403 GB, free: 4.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.448, allocations: 3.221 MB / 0.5435 GB, free: 2.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.522, allocations: 14.97 kB / 0.5435 GB, free: 2.938 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1)