Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001344, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 201.2 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.457/1.457, 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.2385/0.2385, allocations: 46.12 MB / 344.3 MB, free: 11.48 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.002282/0.002282, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.375, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.003566/0.3787, allocations: 1.598 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3806, allocations: 1.152 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.3807, allocations: 1.406 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.381, allocations: 23.91 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3813, allocations: 81.55 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3816, allocations: 98.98 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3818, allocations: 66.39 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3819, allocations: 15.05 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.382, allocations: 25.55 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3821, allocations: 33.59 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3822, allocations: 3.719 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3824, allocations: 103.6 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.3825, allocations: 12.19 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.3825, allocations: 28.52 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.3828, allocations: 138.2 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3828, allocations: 3.938 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3828, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.3829, allocations: 0 / 0.5339 GB, free: 10.83 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.0006444/0.3835, allocations: 403.5 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3836, allocations: 9.625 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.3836, allocations: 32.12 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.3837, allocations: 9.016 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.3839, allocations: 200.5 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3839, allocations: 1.75 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.384, allocations: 1.75 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3842, allocations: 71.64 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3842, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3842, allocations: 3.984 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3842, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.3843, allocations: 24.3 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.3848, allocations: 284.1 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.385, allocations: 43 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.3851, allocations: 15.73 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3851, allocations: 4.078 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3852, allocations: 35.94 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3852, allocations: 0 / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006226/0.3858, allocations: 137.9 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.3859, allocations: 78.48 kB / 0.5352 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.386, allocations: 145.3 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3861, allocations: 25.7 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.3862, allocations: 104.2 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.3862, allocations: 13.23 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3862, allocations: 23.2 kB / 0.5355 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3864, allocations: 320.2 kB / 0.5358 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.3865, allocations: 18.98 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.3866, allocations: 34.25 kB / 0.5359 GB, free: 8.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3867, allocations: 52.19 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3867, allocations: 3.938 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.3869, allocations: 85.23 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.387, allocations: 5.5 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.387, allocations: 0 / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.387, allocations: 1.375 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3871, allocations: 13.61 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3871, allocations: 0 / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.3871, allocations: 12.06 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3871, allocations: 1.375 kB / 0.536 GB, free: 8.723 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.32e-05/0.3872, allocations: 112.6 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.3873, allocations: 8.078 kB / 0.5361 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3875, allocations: 93.45 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3875, allocations: 0 / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3875, allocations: 1.344 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3876, allocations: 7.938 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.388, allocations: 349.8 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.388, allocations: 1.406 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.3881, allocations: 17.14 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3881, allocations: 0 / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3881, allocations: 5.531 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.3881, allocations: 7.984 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3881, allocations: 1.094 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3884, allocations: 179.8 kB / 0.5368 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.3885, allocations: 82.22 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3885, allocations: 5.844 kB / 0.5369 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.3886, allocations: 6.703 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.3886, allocations: 6.406 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.3886, allocations: 1.094 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3887, allocations: 124.8 kB / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3887, allocations: 0 / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.389, allocations: 35.72 kB / 0.537 GB, free: 7.766 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.002229/0.3913, allocations: 1.094 MB / 0.5381 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.3915, allocations: 56.72 kB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3915, allocations: 0 / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.3916, allocations: 23.14 kB / 0.5382 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.392, allocations: 22.92 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.3939, allocations: 1.428 MB / 0.5396 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3943, allocations: 0.6897 MB / 0.5403 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.847e-05/0.3944, allocations: 31.66 kB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.3945, allocations: 30.61 kB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3945, allocations: 0 / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.4217, allocations: 3.224 MB / 0.5435 GB, free: 2.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.517, allocations: 7.438 kB / 0.5435 GB, free: 2.957 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1)