Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247 MB, free: 10.44 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.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.002564/0.002564, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3944, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003322/0.3978, allocations: 1.598 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3996, allocations: 1.16 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.3997, allocations: 0 / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.4, allocations: 33.06 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.4003, allocations: 76.97 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.4006, allocations: 118.5 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.4008, allocations: 67.2 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4009, allocations: 18.84 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.4009, allocations: 26.14 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.4011, allocations: 34.14 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4011, allocations: 4.062 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.4013, allocations: 99.25 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.4014, allocations: 15.23 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.4014, allocations: 29.44 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.4017, allocations: 138 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4017, allocations: 9.031 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4017, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.4017, allocations: 0 / 0.534 GB, free: 10.8 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.0005661/0.4023, allocations: 400.6 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4024, allocations: 9.062 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.4024, allocations: 36.06 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.4024, allocations: 8.109 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4027, allocations: 198.2 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.4027, allocations: 384 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.4027, allocations: 7.469 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4029, allocations: 72.55 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.403, allocations: 4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.403, allocations: 3.984 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.403, allocations: 2.062 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.4031, allocations: 25.23 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.4035, allocations: 287.6 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.4038, allocations: 44 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.4038, allocations: 20.59 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.4039, allocations: 1.219 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4039, allocations: 31.75 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4039, allocations: 0 / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006049/0.4045, allocations: 154.5 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.4046, allocations: 78.48 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4048, allocations: 147.7 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4048, allocations: 27.08 kB / 0.5354 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.4049, allocations: 94.83 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4049, allocations: 22.59 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.4049, allocations: 17.84 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4051, allocations: 325.5 kB / 0.5359 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.4052, allocations: 18.98 kB / 0.5359 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.4053, allocations: 36.83 kB / 0.5359 GB, free: 8.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.4054, allocations: 50.89 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4054, allocations: 4.031 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001989/0.4056, allocations: 87.98 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4057, allocations: 9.438 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4057, allocations: 0 / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4057, allocations: 0 / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.4057, allocations: 13.61 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4058, allocations: 1.375 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.4058, allocations: 6.688 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.4058, allocations: 9.375 kB / 0.5361 GB, free: 8.68 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 9.724e-05/0.4059, allocations: 119.3 kB / 0.5362 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.406, allocations: 6.703 kB / 0.5362 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.4063, allocations: 96.53 kB / 0.5363 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4063, allocations: 5.422 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4063, allocations: 4 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4063, allocations: 5.312 kB / 0.5363 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.4068, allocations: 358.6 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4068, allocations: 0 / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.4069, allocations: 13.56 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4069, allocations: 1.375 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4069, allocations: 3.938 kB / 0.5367 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4069, allocations: 5.359 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4069, allocations: 0 / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4072, allocations: 187.1 kB / 0.5369 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.4073, allocations: 86.17 kB / 0.537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.4073, allocations: 5 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.4074, allocations: 3.25 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.4074, allocations: 10.14 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.4074, allocations: 2.125 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4075, allocations: 116.8 kB / 0.5371 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4076, allocations: 4 kB / 0.5371 GB, free: 7.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000285/0.4078, allocations: 39.39 kB / 0.5371 GB, free: 7.711 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.002131/0.41, allocations: 1.102 MB / 0.5382 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.4102, allocations: 59 kB / 0.5383 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4102, allocations: 1.031 kB / 0.5383 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.4103, allocations: 28.88 kB / 0.5383 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.4108, allocations: 18.53 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.4126, allocations: 1.452 MB / 0.5397 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.4129, allocations: 0.6944 MB / 0.5404 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.413, allocations: 29.75 kB / 0.5404 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.4131, allocations: 26.33 kB / 0.5405 GB, free: 4.734 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4131, allocations: 0 / 0.5405 GB, free: 4.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.4392, allocations: 3.251 MB / 0.5436 GB, free: 2.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.546, allocations: 7.094 kB / 0.5436 GB, free: 2.875 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1)