Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 118.3 kB / 17.78 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.001326/0.001326, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, 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.2389/0.2389, allocations: 46.12 MB / 344.4 MB, free: 11.43 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: 84.14 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3772, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003134/0.3804, allocations: 1.599 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3821, allocations: 1.156 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.3822, allocations: 1.125 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.3824, allocations: 29.34 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.3827, allocations: 73.56 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.383, allocations: 98.62 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3831, allocations: 62.69 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.3832, allocations: 18.36 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.3833, allocations: 24.8 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.3839, allocations: 30.78 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3839, allocations: 4.125 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.3842, allocations: 102.7 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.3842, allocations: 16.05 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.3843, allocations: 27.98 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3845, allocations: 138 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3845, allocations: 1.375 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3846, allocations: 4 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3846, 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.0005354/0.3851, allocations: 403.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3851, allocations: 13.56 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.3852, allocations: 36.12 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.3852, allocations: 7.641 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3855, allocations: 193.8 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3855, allocations: 1.75 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3855, allocations: 1.75 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3857, allocations: 75.64 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3857, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3857, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3857, allocations: 7.922 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.3858, allocations: 21.73 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.3862, allocations: 270.8 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3864, allocations: 56.36 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.3865, allocations: 10.36 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3865, allocations: 1.375 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3865, allocations: 35.94 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3865, allocations: 0 / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005515/0.3871, allocations: 144.6 kB / 0.5351 GB, free: 9.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.3872, allocations: 78.48 kB / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3874, allocations: 145.2 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.3874, allocations: 25.7 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.3875, allocations: 98.81 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3875, allocations: 14.61 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3875, allocations: 17.84 kB / 0.5355 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3877, allocations: 329.5 kB / 0.5358 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.3878, allocations: 18.98 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/0.3879, allocations: 30.08 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.388, allocations: 48.52 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.388, allocations: 0 / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000231/0.3883, allocations: 88.59 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3883, allocations: 5.312 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3883, allocations: 0 / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3883, allocations: 5.328 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.3884, allocations: 9.281 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3884, allocations: 0 / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.3885, allocations: 11.7 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3885, allocations: 2.594 kB / 0.536 GB, free: 8.711 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.818e-05/0.3886, allocations: 116.7 kB / 0.5361 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.3886, allocations: 7.922 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.3889, allocations: 97.08 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3889, allocations: 0 / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3889, allocations: 1.25 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3889, allocations: 11.86 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.3894, allocations: 350.9 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3894, allocations: 3.938 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.3895, allocations: 14.08 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3895, allocations: 0 / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3895, allocations: 5 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3895, allocations: 1.125 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3895, allocations: 0 / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.3898, allocations: 175.4 kB / 0.5368 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.3899, allocations: 87.14 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.3899, allocations: 9.031 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.39, allocations: 3.562 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.39, allocations: 6.422 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3901, allocations: 9.125 kB / 0.5369 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3902, allocations: 109.9 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3902, allocations: 1.094 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.3905, allocations: 39.67 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.002292/0.3928, allocations: 1.098 MB / 0.5381 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3931, allocations: 56.48 kB / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3931, allocations: 0 / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.3932, allocations: 27.52 kB / 0.5382 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3936, allocations: 22.03 kB / 0.5382 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.3954, allocations: 1.421 MB / 0.5396 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.3959, allocations: 0.6935 MB / 0.5403 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.302e-05/0.396, allocations: 22.42 kB / 0.5403 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.3961, allocations: 30.95 kB / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3961, allocations: 0 / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.4294, allocations: 3.227 MB / 0.5435 GB, free: 2.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.467, allocations: 4.062 kB / 0.5435 GB, free: 2.945 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1)