Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.001679/0.001679, allocations: 118.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.001696/0.001696, allocations: 198 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.52/1.52, allocations: 227.4 MB / 247 MB, free: 10.45 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.2415/0.2415, 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.003132/0.003132, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3766, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002967/0.3796, allocations: 1.598 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3813, allocations: 1.157 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.3814, allocations: 3.938 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.3816, allocations: 17.39 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.3819, allocations: 85.55 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3822, allocations: 89.27 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3824, allocations: 66.42 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.3825, allocations: 19.05 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.3825, allocations: 17.91 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3827, allocations: 42.67 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3827, allocations: 3.281 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3829, allocations: 96.28 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.3829, allocations: 15.27 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.383, allocations: 24.86 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3833, allocations: 145 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3833, allocations: 1.312 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3833, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3833, 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.0005581/0.3838, allocations: 404 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3839, allocations: 9.031 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.3839, allocations: 36.06 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.384, allocations: 7.641 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.3842, allocations: 205.8 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3842, allocations: 5.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3843, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3844, allocations: 67.7 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3844, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3845, allocations: 3.984 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3845, allocations: 5.312 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.3846, allocations: 20.36 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.3849, allocations: 278.7 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3852, allocations: 44.42 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.3852, allocations: 15.73 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3852, allocations: 0 / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3853, allocations: 31.94 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3853, allocations: 4 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005836/0.3859, allocations: 146 kB / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3859, allocations: 77.11 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3861, allocations: 149.4 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3861, allocations: 25.7 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.3862, allocations: 100.2 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.3862, allocations: 17.23 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.3863, allocations: 19.22 kB / 0.5355 GB, free: 9.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3864, allocations: 324.1 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.3865, allocations: 18.92 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.3866, allocations: 34.08 kB / 0.5359 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3867, allocations: 48.23 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3867, allocations: 0 / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001856/0.3869, allocations: 81.25 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3869, allocations: 5.5 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.387, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.387, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.387, allocations: 17.55 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.3871, allocations: 1.375 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.3871, allocations: 14.67 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3871, allocations: 1.375 kB / 0.536 GB, free: 8.719 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.412e-05/0.3872, allocations: 114 kB / 0.5361 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.3873, allocations: 8.078 kB / 0.5362 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.3875, allocations: 85.59 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3875, allocations: 0 / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3875, allocations: 0 / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.3875, allocations: 9.297 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.388, allocations: 357.8 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.388, allocations: 9.156 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.3881, allocations: 12.7 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3881, allocations: 1.156 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3881, allocations: 5.344 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3881, allocations: 0 / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3881, allocations: 0 / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3883, allocations: 179.7 kB / 0.5368 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.3884, allocations: 87.55 kB / 0.5369 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3884, allocations: 5.344 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.3885, allocations: 2.5 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.3885, allocations: 10.45 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3886, allocations: 1 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.848e-05/0.3887, allocations: 117.4 kB / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3887, allocations: 0 / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.3889, allocations: 40.11 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.002103/0.3911, allocations: 1.097 MB / 0.5381 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.3913, allocations: 56.73 kB / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3913, allocations: 0 / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.3914, allocations: 23.86 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3917, allocations: 17.05 kB / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3936, allocations: 1.431 MB / 0.5396 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.394, allocations: 0.6979 MB / 0.5403 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.023e-05/0.3941, allocations: 22.12 kB / 0.5403 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.3942, allocations: 31.2 kB / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3942, allocations: 0 / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.4278, allocations: 3.219 MB / 0.5435 GB, free: 2.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.529, allocations: 5.781 kB / 0.5435 GB, free: 2.957 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1)